lkml.org 
[lkml]   [2005]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Lhms-devel] Re: [PATCH 1/9] add defrag flags
> Once this is merged with current Linux, which already has GFP_HARDWALL,
> I presume you will be back up to 21 bits, code and comment.

Looks like it.

>
> As I noted in another message the "USER" and the comment in:
>
> #define __GFP_USER 0x40000u /* User is a userspace user */
>
> are a bit misleading now. Perhaps GFP_EASYRCLM?
>

A rose by any other name would smell as sweet -Romeo

A flag by any other name would work as well -Joel

There are problems with any name we would use. I personally like __GFP_USER
because it is mostly user memory, and nobody will accidently use it to label
something that is not user memory. Those who do use it for non-user memory will
do so with more caution and ridicule. This will keep it from expanding in use
beyond its intent.

If we name it __GFP_EASYRCLM we then start getting into questions about what we
mean by easy and somebody is going to decide that their kernel memory is pretty
easy to reclaim and mess things up. Maybe we could call it
__GPF_REALLYREALLYEASYRCLM to avoid confusion.

If there is a consensus from multiple people for me to go rename the flag
__GFP_xxxxx then I'm not that attached to it and will. But for now I'm going to
leave it __GFP_USER.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-27 23:04    [W:0.049 / U:22.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site