Re: No more bits in vm_area_struct's vm_flags.
- From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
- Date: Mon, 28 Sep 2009 13:53:15 +0900
On Mon, 28 Sep 2009 14:37:48 +1000
Nigel Cunningham <ncunningham@xxxxxxxxxxx> wrote:
Hi.
KAMEZAWA Hiroyuki wrote:
Then, Nigel, you have 2 choices I think.
(1) don't merge if vm_hints is set or (2) pass vm_hints to all
__merge() functions.
One of above will be accesptable for stakeholders... I personally
like (1) but just trying (2) may be accepted.
What I dislike is making vm_flags to be long long ;)
Okay. I've gone for option 1 for now. Here's what I
currently have (compile testing as I write)...
vm_flags in struct vm_area_struct is full. Move some of the less commonly
used flags to a new variable so that other flags that need to be in vm_flags
(because, for example, they need to be in variables that are passed around)
can be added.
Signed-off-by: Nigel Cunningham <nigel@xxxxxxxxxxxx>
Seems good to me.
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
But
+ if (vma->vm_hints)
+ return 0;
return 1;
Maybe adding a comment (or more detailed patch description) is necessary.
Regards,
-Kame
}
--
1.6.3.3
--
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/
--
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/
- Follow-Ups:
- Re: No more bits in vm_area_struct's vm_flags.
- From: Nigel Cunningham
- Re: No more bits in vm_area_struct's vm_flags.
- References:
- No more bits in vm_area_struct's vm_flags.
- From: Nigel Cunningham
- Re: No more bits in vm_area_struct's vm_flags.
- From: KAMEZAWA Hiroyuki
- Re: No more bits in vm_area_struct's vm_flags.
- From: Nigel Cunningham
- Re: No more bits in vm_area_struct's vm_flags.
- From: KAMEZAWA Hiroyuki
- Re: No more bits in vm_area_struct's vm_flags.
- From: Nigel Cunningham
- Re: No more bits in vm_area_struct's vm_flags.
- From: KAMEZAWA Hiroyuki
- Re: No more bits in vm_area_struct's vm_flags.
- From: Wu Fengguang
- Re: No more bits in vm_area_struct's vm_flags.
- From: KAMEZAWA Hiroyuki
- Re: No more bits in vm_area_struct's vm_flags.
- From: Nigel Cunningham
- No more bits in vm_area_struct's vm_flags.
- Prev by Date: Re: No more bits in vm_area_struct's vm_flags.
- Next by Date: Re: [linux-pm] [PATCH, fix] Re: [Regression] 2.6.31-git: tty change broke resume from hibernation on MSI Wind U100
- Previous by thread: Re: No more bits in vm_area_struct's vm_flags.
- Next by thread: Re: No more bits in vm_area_struct's vm_flags.
- Index(es):
Relevant Pages
|