[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1404424335-30128-1-git-send-email-n-horiguchi@ah.jp.nec.com>
Date: Thu, 3 Jul 2014 17:52:11 -0400
From: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Konstantin Khlebnikov <koct9i@...il.com>,
Wu Fengguang <fengguang.wu@...el.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Borislav Petkov <bp@...en8.de>,
"Kirill A. Shutemov" <kirill@...temov.name>,
Johannes Weiner <hannes@...xchg.org>,
Rusty Russell <rusty@...tcorp.com.au>,
David Miller <davem@...emloft.net>,
Andres Freund <andres@...quadrant.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Dave Hansen <dave.hansen@...el.com>,
Christoph Hellwig <hch@...radead.org>,
Michael Kerrisk <mtk.manpages@...il.com>,
Linux API <linux-api@...r.kernel.org>,
Naoya Horiguchi <nao.horiguchi@...il.com>
Subject: [PATCH 0/4] mm: introduce fincore() v2
This is the 2nd version of fincore patchset.
In the previous discussion[1], I got many feedbacks about the following
points:
- robust ABI handling is needed (especially about PAGECACHE_TAG_*)
- man page is necessary
- the parameter/return value of sys_fincore() needs improvement
- the order of bits FINCORE_* and the order of 8 bytes entry in buffer
should be identical
so I covered these in this version.
Any comments/reviews are welcomed.
[1] http://lwn.net/Articles/601020/
Thanks,
Naoya Horiguchi
---
Tree: git@...hub.com:Naoya-Horiguchi/linux.git
Branch: v3.16-rc3/fincore.ver2
---
Summary:
Naoya Horiguchi (4):
define PAGECACHE_TAG_* as enumeration under include/uapi
mm: introduce fincore()
selftests/fincore: add test code for fincore()
man2/fincore.2: document general description about fincore(2)
arch/x86/syscalls/syscall_64.tbl | 1 +
include/linux/fs.h | 9 +-
include/linux/syscalls.h | 4 +
include/uapi/linux/pagecache.h | 111 ++++++
man2/fincore.2 | 383 ++++++++++++++++++++
mm/Makefile | 2 +-
mm/fincore.c | 322 +++++++++++++++++
tools/testing/selftests/Makefile | 1 +
tools/testing/selftests/fincore/Makefile | 31 ++
.../selftests/fincore/create_hugetlbfs_file.c | 49 +++
tools/testing/selftests/fincore/fincore.c | 166 +++++++++
tools/testing/selftests/fincore/run_fincoretests | 401 +++++++++++++++++++++
12 files changed, 1471 insertions(+), 9 deletions(-)
--
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