On 6/18/07, Jason Baron <[EMAIL PROTECTED]> wrote:
On Sat, 16 Jun 2007, Christoph Hellwig wrote:
> On Fri, Jun 15, 2007 at 11:20:31AM -0400, Jason Baron wrote:
> > hi,
> >
> > i was just looking at the new madvise_need_mmap_write() call...can we
> > avoid an extra case statement and function ca
On Sat, 16 Jun 2007, Christoph Hellwig wrote:
> On Fri, Jun 15, 2007 at 11:20:31AM -0400, Jason Baron wrote:
> > hi,
> >
> > i was just looking at the new madvise_need_mmap_write() call...can we
> > avoid an extra case statement and function call as follows?
>
> Sounds like a good idea, but ple
On Fri, Jun 15, 2007 at 11:20:31AM -0400, Jason Baron wrote:
> hi,
>
> i was just looking at the new madvise_need_mmap_write() call...can we
> avoid an extra case statement and function call as follows?
Sounds like a good idea, but please move the assignment out of the
conditional.
-
To unsubscr
hi,
i was just looking at the new madvise_need_mmap_write() call...can we
avoid an extra case statement and function call as follows?
thanks,
-Jason
Signed-off-by: Jason Baron <[EMAIL PROTECTED]>
diff --git a/mm/madvise.c b/mm/madvise.c
--- a/mm/madvise.c
+++ b/mm/madvise.c
@@ -287,9 +287,10
4 matches
Mail list logo