All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] simple mmap() cleanups
@ 2013-07-14 16:54 Oleg Nesterov
  2013-07-14 16:54 ` [PATCH 1/3] mm: shift VM_GROWS* check from mmap_region() to do_mmap_pgoff() Oleg Nesterov
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Oleg Nesterov @ 2013-07-14 16:54 UTC (permalink / raw)
  To: Andrew Morton, Hugh Dickins
  Cc: Al Viro, Colin Cross, David Rientjes, KOSAKI Motohiro, linux-kernel

Hello.

Hopefully the simple cleanups, but need the authoritative acks.

I simply can't understand the VM_GROWS* check in mmap_region(),
did I miss something subtle? I will appreciate any review.

Can't resist. "(prot&PROT_WRITE) && !(file->f_mode&FMODE_WRITE)"
asks for the whitespace cleanup, but this will break the 80-col
rule. Perhaps we should relax it...

Oleg.

 mm/mmap.c |   28 ++++++++++------------------
 1 files changed, 10 insertions(+), 18 deletions(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-07-22 23:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-14 16:54 [PATCH 0/3] simple mmap() cleanups Oleg Nesterov
2013-07-14 16:54 ` [PATCH 1/3] mm: shift VM_GROWS* check from mmap_region() to do_mmap_pgoff() Oleg Nesterov
2013-07-16 21:43   ` Andrew Morton
2013-07-20  2:02     ` Hugh Dickins
2013-07-20 15:22       ` [PATCH v2 0/1] " Oleg Nesterov
2013-07-20 15:23         ` [PATCH v2 1/1] " Oleg Nesterov
2013-07-22 23:30           ` Hugh Dickins
2013-07-14 16:54 ` [PATCH 2/3] mm: do_mmap_pgoff: cleanup the usage of file_inode() Oleg Nesterov
2013-07-14 16:54 ` [PATCH 3/3] mm: mmap_region: kill correct_wcount/inode, use allow_write_access() Oleg Nesterov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.