lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1406114656-16350-1-git-send-email-mgorman@suse.de>
Date:	Wed, 23 Jul 2014 12:24:14 +0100
From:	Mel Gorman <mgorman@...e.de>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Johannes Weiner <hannes@...xchg.org>,
	Michal Hocko <mhocko@...e.cz>, Mel Gorman <mgorman@...e.de>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	Linux-MM <linux-mm@...ck.org>
Subject: [PATCH 0/2] Avoid unnecessary overhead in fault paths due to memcg and rss stats

While looking for something else entirely I spotted two small issues in the
page fault fast path. Enabling memcg takes the RCU read lock unnecessarily
even when the task is not part of a memcg and we fiddle with RSS stats
more than necessary. Details in the patches.

 include/linux/memcontrol.h |  8 ++++++++
 include/linux/mm_types.h   |  1 -
 mm/memory.c                | 32 +++++++++++++-------------------
 3 files changed, 21 insertions(+), 20 deletions(-)

-- 
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ