All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/2] remap_file_pages() decommission
@ 2014-05-08 12:41 ` Kirill A. Shutemov
  0 siblings, 0 replies; 54+ messages in thread
From: Kirill A. Shutemov @ 2014-05-08 12:41 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds
  Cc: linux-kernel, linux-mm, peterz, mingo, Kirill A. Shutemov

Hi Andrew and Linus,

These two patches demonstrate how we can get rid nonlinear mappings.

The first patch documents remap_file_pages(2) deprecation and add printk
into syscall code. The patch could be propagated through stable kernel if
the approach with remap_file_pages() emulation is okay.

The second patch replaces remap_file_pages(2) with and emulation. I didn't
find any real code (apart LTP) to test it on. So I wrote simple test case.
See commit message for numbers.

I will prepare separate patchset to cleanup all nonlinear mappings
leftovers if the approach with emulation is desirable.

Comments?

Kirill A. Shutemov (2):
  mm: mark remap_file_pages() syscall as deprecated
  mm: replace remap_file_pages() syscall with emulation

 Documentation/vm/remap_file_pages.txt |  27 ++++
 include/linux/fs.h                    |   8 +-
 mm/Makefile                           |   2 +-
 mm/fremap.c                           | 282 ----------------------------------
 mm/mmap.c                             |  66 ++++++++
 mm/nommu.c                            |   8 -
 6 files changed, 100 insertions(+), 293 deletions(-)
 create mode 100644 Documentation/vm/remap_file_pages.txt
 delete mode 100644 mm/fremap.c

-- 
2.0.0.rc2


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

end of thread, other threads:[~2014-06-12  9:44 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-08 12:41 [PATCHv2 0/2] remap_file_pages() decommission Kirill A. Shutemov
2014-05-08 12:41 ` Kirill A. Shutemov
2014-05-08 12:41 ` [PATCH 1/2] mm: mark remap_file_pages() syscall as deprecated Kirill A. Shutemov
2014-05-08 12:41   ` Kirill A. Shutemov
2014-06-12  5:48   ` Michael Kerrisk
2014-06-12  5:48     ` Michael Kerrisk
2014-06-12  5:48     ` Michael Kerrisk
2014-06-12  9:40     ` Kirill A. Shutemov
2014-06-12  9:40       ` Kirill A. Shutemov
2014-06-12  9:40       ` Kirill A. Shutemov
2014-06-12  9:44       ` Michael Kerrisk (man-pages)
2014-06-12  9:44         ` Michael Kerrisk (man-pages)
2014-05-08 12:41 ` [PATCH 2/2] mm: replace remap_file_pages() syscall with emulation Kirill A. Shutemov
2014-05-08 12:41   ` Kirill A. Shutemov
2014-05-08 21:57   ` Andrew Morton
2014-05-08 21:57     ` Andrew Morton
2014-05-12 15:11     ` Sasha Levin
2014-05-12 15:11       ` Sasha Levin
2014-05-12 17:05       ` Kirill A. Shutemov
2014-05-12 17:05         ` Kirill A. Shutemov
2014-05-14 20:52         ` Sasha Levin
2014-05-14 20:52           ` Sasha Levin
2014-05-14 21:17           ` Kirill A. Shutemov
2014-05-14 21:17             ` Kirill A. Shutemov
2014-05-14 21:40             ` Andrew Morton
2014-05-14 21:40               ` Andrew Morton
2014-05-13  7:32       ` Armin Rigo
2014-05-13  7:32         ` Armin Rigo
2014-05-13 12:57         ` Sasha Levin
2014-05-13 12:57           ` Sasha Levin
2014-05-08 15:35 ` [PATCHv2 0/2] remap_file_pages() decommission Linus Torvalds
2014-05-08 15:35   ` Linus Torvalds
2014-05-08 15:44 ` Armin Rigo
2014-05-08 15:44   ` Armin Rigo
2014-05-08 16:02   ` Kirill A. Shutemov
2014-05-08 16:02     ` Kirill A. Shutemov
2014-05-08 16:08     ` Linus Torvalds
2014-05-08 16:08       ` Linus Torvalds
2014-05-09 14:05       ` Kirill A. Shutemov
2014-05-09 14:05         ` Kirill A. Shutemov
2014-05-09 15:14         ` Linus Torvalds
2014-05-09 15:14           ` Linus Torvalds
2014-05-09 18:19           ` Kirill A. Shutemov
2014-05-09 18:19             ` Kirill A. Shutemov
2014-05-12 12:43           ` Kirill A. Shutemov
2014-05-12 12:43             ` Kirill A. Shutemov
2014-05-12 14:59             ` Konstantin Khlebnikov
2014-05-12 14:59               ` Konstantin Khlebnikov
2014-05-12  3:36   ` Andi Kleen
2014-05-12  3:36     ` Andi Kleen
2014-05-12  5:16     ` Konstantin Khlebnikov
2014-05-12  5:16       ` Konstantin Khlebnikov
2014-05-12  7:50     ` Armin Rigo
2014-05-12  7:50       ` Armin Rigo

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.