From: "Radosław Smogura" <mail@smogura.eu>
To: linux-mm@kvack.org
Cc: "Radosław Smogura" <mail@smogura.eu>,
"Andrea Arcangeli" <aarcange@redhat.com>,
"Hugh Dickins" <hughd@google.com>,
"Yongqiang Yang" <xiaoqiangnk@gmail.com>
Subject: [PATCH] mm: Change of refcounting method for compound page.
Date: Fri, 3 Feb 2012 18:28:12 +0100 [thread overview]
Message-ID: <1328290093-19294-1-git-send-email-mail@smogura.eu> (raw)
Hello,
Currently, I try to enable huge pages for SHM (and generally for any page cache), during
this I ran into problem with ref-countig of huge pages.
Due to this I would like to propose patch for changing ref-counting for compound
page and allowing auto destruction of such page. I tried to revert behavior
from 2.6 kernels, and to make it concurrently safe, as well sophisticated
and compatible with THP.
I hope this removes risky way through call get_user_pages, too.
For me enabling such ref-counting is really important to continue work, and to
prevent huge changes in page cache managing.
Regards,
RadosA?aw Smogura (1):
mm: Change of refcounting method for compound page.
include/linux/mm.h | 94 +++++++++++-----
include/linux/mm_types.h | 24 ++++-
include/linux/pagemap.h | 1 -
mm/huge_memory.c | 30 ++---
mm/internal.h | 46 --------
mm/memory.c | 2 +-
mm/page_alloc.c | 2 +
mm/swap.c | 272 ++++++++++++++++++++++++++++++----------------
8 files changed, 279 insertions(+), 192 deletions(-)
--
1.7.3.4
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2012-02-03 17:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-03 17:28 Radosław Smogura [this message]
2012-02-03 17:28 ` Radosław Smogura
2012-02-03 19:05 ` Radosław Smogura
2012-02-03 19:14 ` Radosław Smogura
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1328290093-19294-1-git-send-email-mail@smogura.eu \
--to=mail@smogura.eu \
--cc=aarcange@redhat.com \
--cc=hughd@google.com \
--cc=linux-mm@kvack.org \
--cc=xiaoqiangnk@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox