Skip to contentSkip to conversation

mm: use_mm/unuse_mm

PATCH New Michael S. Tsirkin 1 participant 1 message Sep 17, 2009

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

v3 cover mm: use_mm/unuse_mm

This moves use_mm/unuse_mm from aio into mm, and optimizes atomic usage there. Original patchset also exported use_mm/unuse_mm to modules, for use by vhost, that bit will come in later when vhost is posted for inclusion.

Michael S. Tsirkin (2):
mm: move use_mm/unuse_mm from aio.c to mm/
mm: reduce atomic use on use_mm fast path

 fs/aio.c                    |   47 +----------------------------------
 include/linux/mmu_context.h |    9 ++++++
 mm/Makefile                 |    2 +-
 mm/mmu_context.c            |   58 +++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 69 insertions(+), 47 deletions(-)
 create mode 100644 include/linux/mmu_context.h
 create mode 100644 mm/mmu_context.c

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>