lkml.org 
[lkml]   [2004]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] MAP_POPULATE prot 0

* Hugh Dickins <hugh@veritas.com> wrote:

> It seems eccentric to implement MAP_POPULATE only on PROT_NONE
> mappings: do_mmap_pgoff is passing down prot, then
> sys_remap_file_pages verifies it's not set. I guess that's an
> oversight from when we realized that the prot arg to
> sys_remap_file_pages was misdesigned.

yeah.

> There's another oddity whose heritage is harder for me to understand,
> so please let me leave it to you: sys_remap_file_pages is declared as
> asmlinkage in mm/fremap.c, but is the one syscall declared without
> asmlinkage in include/linux/syscalls.h.

i think that's just an oversight.

Ingo
-
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-03-22 14:03    [W:0.020 / U:0.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site