[Devel] [PATCH vz7 v2 0/4] avoid kmalloc for high order memory allocations

Oleg Babin obabin at virtuozzo.com
Tue May 8 22:05:14 MSK 2018


tty, relay and kio_pcs use kmalloc() for allocating large data objects
of order >= 3. This patch set replaces kmalloc() with kvmalloc() and with
separate smaller object allocations.

v2: Used mainstream patches where apropriate.

https://jira.sw.ru/browse/HCI-53

Akash Goel (1):
  relay: Use per CPU constructs for the relay channel buffer pointers

Dmitry Vyukov (1):
  tty: limit terminal size to 4M chars

Oleg Babin (2):
  tty: use kvmalloc for screenbuffer allocation
  fuse/kio_pcs: use kvmalloc for pcs_fuse_cluster allocation

 drivers/tty/vt/vt.c                | 12 ++++---
 fs/fuse/kio/pcs/pcs_cluster.c      |  2 +-
 fs/fuse/kio/pcs/pcs_fuse_kdirect.c |  2 +-
 include/linux/relay.h              | 17 +++++----
 kernel/relay.c                     | 74 +++++++++++++++++++++-----------------
 5 files changed, 61 insertions(+), 46 deletions(-)

-- 
1.8.3.1



More information about the Devel mailing list