Re: [PATCH] Cpuset: remove unnecessary NULL check

From: Paul Jackson
Date: Sun Mar 19 2006 - 10:09:28 EST


Eric wrote:
> Comments that refer to a nebulous hack ...

Well, in this case, it wasn't so nebulous, to me anyway.

The "Hack" referred to has a big fat comment beginning:

*
* Hack:
*
* Set the exiting tasks cpuset to the root cpuset (top_cpuset).
*
* Don't leave a task unable to allocate memory, as ...

and is labeled at the scene of the Hack with:

tsk->cpuset = &top_cpuset; /* Hack - see comment above */

So "Hack" was intended as a proper noun, not a nebulous generic term.

But, sure, hard to argue with anyone wanting improved comments.

And while I'm at it, I will change the name of this Hack to something
less generic ... say "the_top_cpuset_hack".

Patch coming soon.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/