<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in pagevec.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>ee1eb8cc - libceph: Remove unused pagevec functions</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#ee1eb8cc</link>
        <description>libceph: Remove unused pagevec functionsceph_copy_user_to_page_vector() has been unused since 2013&apos;s commite8344e668915 (&quot;ceph: Implement writev/pwritev for sync operation.&quot;)ceph_copy_to_page_vector() has been unused since 2012&apos;s commit913d2fdcf605 (&quot;rbd: always pass ops array to rbd_req_sync_op()&quot;)Remove them.Signed-off-by: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;Reviewed-by: Ilya Dryomov &lt;idryomov@gmail.com&gt;Signed-off-by: Ilya Dryomov &lt;idryomov@gmail.com&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Sun, 06 Oct 2024 01:19:53 +0000</pubDate>
        <dc:creator>Dr. David Alan Gilbert &lt;linux@treblig.org&gt;</dc:creator>
    </item>
<item>
        <title>97a385e5 - libceph: remove ceph_get_direct_page_vector()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#97a385e5</link>
        <description>libceph: remove ceph_get_direct_page_vector()This function is entirely unused.Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;Reviewed-by: Ilya Dryomov &lt;idryomov@gmail.com&gt;Signed-off-by: Ilya Dryomov &lt;idryomov@gmail.com&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Wed, 01 May 2019 20:40:32 +0000</pubDate>
        <dc:creator>Christoph Hellwig &lt;hch@lst.de&gt;</dc:creator>
    </item>
<item>
        <title>73b0140b - mm/gup: change GUP fast to use flags rather than a write &apos;bool&apos;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#73b0140b</link>
        <description>mm/gup: change GUP fast to use flags rather than a write &apos;bool&apos;To facilitate additional options to get_user_pages_fast() change thesingular write parameter to be gup_flags.This patch does not change any functionality.  New functionality willfollow in subsequent patches.Some of the get_user_pages_fast() call sites were unchanged because theyalready passed FOLL_WRITE or 0 for the write parameter.NOTE: It was suggested to change the ordering of the get_user_pages_fast()arguments to ensure that callers were converted.  This breaks the currentGUP call site convention of having the returned pages be the finalparameter.  So the suggestion was rejected.Link: http://lkml.kernel.org/r/20190328084422.29911-4-ira.weiny@intel.comLink: http://lkml.kernel.org/r/20190317183438.2057-4-ira.weiny@intel.comSigned-off-by: Ira Weiny &lt;ira.weiny@intel.com&gt;Reviewed-by: Mike Marshall &lt;hubcap@omnibond.com&gt;Cc: Aneesh Kumar K.V &lt;aneesh.kumar@linux.ibm.com&gt;Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;Cc: Borislav Petkov &lt;bp@alien8.de&gt;Cc: Dan Williams &lt;dan.j.williams@intel.com&gt;Cc: &quot;David S. Miller&quot; &lt;davem@davemloft.net&gt;Cc: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: James Hogan &lt;jhogan@kernel.org&gt;Cc: Jason Gunthorpe &lt;jgg@ziepe.ca&gt;Cc: John Hubbard &lt;jhubbard@nvidia.com&gt;Cc: &quot;Kirill A. Shutemov&quot; &lt;kirill.shutemov@linux.intel.com&gt;Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;Cc: Michal Hocko &lt;mhocko@kernel.org&gt;Cc: Paul Mackerras &lt;paulus@samba.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;Cc: Rich Felker &lt;dalias@libc.org&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Tue, 14 May 2019 00:17:11 +0000</pubDate>
        <dc:creator>Ira Weiny &lt;ira.weiny@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>24e1dd6a - ceph: fix whitespace</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#24e1dd6a</link>
        <description>ceph: fix whitespaceRemove blank lines at end of file and trailing whitespace.Signed-off-by: Stephen Hemminger &lt;stephen@networkplumber.org&gt;Signed-off-by: Ilya Dryomov &lt;idryomov@gmail.com&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Tue, 24 Jul 2018 19:29:07 +0000</pubDate>
        <dc:creator>Stephen Hemminger &lt;stephen@networkplumber.org&gt;</dc:creator>
    </item>
<item>
        <title>6da2ec56 - treewide: kmalloc() -&gt; kmalloc_array()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#6da2ec56</link>
        <description>treewide: kmalloc() -&gt; kmalloc_array()The kmalloc() function has a 2-factor argument form, kmalloc_array(). Thispatch replaces cases of:        kmalloc(a * b, gfp)with:        kmalloc_array(a * b, gfp)as well as handling cases of:        kmalloc(a * b * c, gfp)with:        kmalloc(array3_size(a, b, c), gfp)as it&apos;s slightly less ugly than:        kmalloc_array(array_size(a, b), c, gfp)This does, however, attempt to ignore constant size factors like:        kmalloc(4 * 1024, gfp)though any constants defined via macros get caught up in the conversion.Any factors with a sizeof() of &quot;unsigned char&quot;, &quot;char&quot;, and &quot;u8&quot; weredropped, since they&apos;re redundant.The tools/ directory was manually excluded, since it has its ownimplementation of kmalloc().The Coccinelle script used for this was:// Fix redundant parens around sizeof().@@type TYPE;expression THING, E;@@(  kmalloc(-	(sizeof(TYPE)) * E+	sizeof(TYPE) * E  , ...)|  kmalloc(-	(sizeof(THING)) * E+	sizeof(THING) * E  , ...))// Drop single-byte sizes and redundant parens.@@expression COUNT;typedef u8;typedef __u8;@@(  kmalloc(-	sizeof(u8) * (COUNT)+	COUNT  , ...)|  kmalloc(-	sizeof(__u8) * (COUNT)+	COUNT  , ...)|  kmalloc(-	sizeof(char) * (COUNT)+	COUNT  , ...)|  kmalloc(-	sizeof(unsigned char) * (COUNT)+	COUNT  , ...)|  kmalloc(-	sizeof(u8) * COUNT+	COUNT  , ...)|  kmalloc(-	sizeof(__u8) * COUNT+	COUNT  , ...)|  kmalloc(-	sizeof(char) * COUNT+	COUNT  , ...)|  kmalloc(-	sizeof(unsigned char) * COUNT+	COUNT  , ...))// 2-factor product with sizeof(type/expression) and identifier or constant.@@type TYPE;expression THING;identifier COUNT_ID;constant COUNT_CONST;@@(- kmalloc+ kmalloc_array  (-	sizeof(TYPE) * (COUNT_ID)+	COUNT_ID, sizeof(TYPE)  , ...)|- kmalloc+ kmalloc_array  (-	sizeof(TYPE) * COUNT_ID+	COUNT_ID, sizeof(TYPE)  , ...)|- kmalloc+ kmalloc_array  (-	sizeof(TYPE) * (COUNT_CONST)+	COUNT_CONST, sizeof(TYPE)  , ...)|- kmalloc+ kmalloc_array  (-	sizeof(TYPE) * COUNT_CONST+	COUNT_CONST, sizeof(TYPE)  , ...)|- kmalloc+ kmalloc_array  (-	sizeof(THING) * (COUNT_ID)+	COUNT_ID, sizeof(THING)  , ...)|- kmalloc+ kmalloc_array  (-	sizeof(THING) * COUNT_ID+	COUNT_ID, sizeof(THING)  , ...)|- kmalloc+ kmalloc_array  (-	sizeof(THING) * (COUNT_CONST)+	COUNT_CONST, sizeof(THING)  , ...)|- kmalloc+ kmalloc_array  (-	sizeof(THING) * COUNT_CONST+	COUNT_CONST, sizeof(THING)  , ...))// 2-factor product, only identifiers.@@identifier SIZE, COUNT;@@- kmalloc+ kmalloc_array  (-	SIZE * COUNT+	COUNT, SIZE  , ...)// 3-factor product with 1 sizeof(type) or sizeof(expression), with// redundant parens removed.@@expression THING;identifier STRIDE, COUNT;type TYPE;@@(  kmalloc(-	sizeof(TYPE) * (COUNT) * (STRIDE)+	array3_size(COUNT, STRIDE, sizeof(TYPE))  , ...)|  kmalloc(-	sizeof(TYPE) * (COUNT) * STRIDE+	array3_size(COUNT, STRIDE, sizeof(TYPE))  , ...)|  kmalloc(-	sizeof(TYPE) * COUNT * (STRIDE)+	array3_size(COUNT, STRIDE, sizeof(TYPE))  , ...)|  kmalloc(-	sizeof(TYPE) * COUNT * STRIDE+	array3_size(COUNT, STRIDE, sizeof(TYPE))  , ...)|  kmalloc(-	sizeof(THING) * (COUNT) * (STRIDE)+	array3_size(COUNT, STRIDE, sizeof(THING))  , ...)|  kmalloc(-	sizeof(THING) * (COUNT) * STRIDE+	array3_size(COUNT, STRIDE, sizeof(THING))  , ...)|  kmalloc(-	sizeof(THING) * COUNT * (STRIDE)+	array3_size(COUNT, STRIDE, sizeof(THING))  , ...)|  kmalloc(-	sizeof(THING) * COUNT * STRIDE+	array3_size(COUNT, STRIDE, sizeof(THING))  , ...))// 3-factor product with 2 sizeof(variable), with redundant parens removed.@@expression THING1, THING2;identifier COUNT;type TYPE1, TYPE2;@@(  kmalloc(-	sizeof(TYPE1) * sizeof(TYPE2) * COUNT+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))  , ...)|  kmalloc(-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))  , ...)|  kmalloc(-	sizeof(THING1) * sizeof(THING2) * COUNT+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))  , ...)|  kmalloc(-	sizeof(THING1) * sizeof(THING2) * (COUNT)+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))  , ...)|  kmalloc(-	sizeof(TYPE1) * sizeof(THING2) * COUNT+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))  , ...)|  kmalloc(-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))  , ...))// 3-factor product, only identifiers, with redundant parens removed.@@identifier STRIDE, SIZE, COUNT;@@(  kmalloc(-	(COUNT) * STRIDE * SIZE+	array3_size(COUNT, STRIDE, SIZE)  , ...)|  kmalloc(-	COUNT * (STRIDE) * SIZE+	array3_size(COUNT, STRIDE, SIZE)  , ...)|  kmalloc(-	COUNT * STRIDE * (SIZE)+	array3_size(COUNT, STRIDE, SIZE)  , ...)|  kmalloc(-	(COUNT) * (STRIDE) * SIZE+	array3_size(COUNT, STRIDE, SIZE)  , ...)|  kmalloc(-	COUNT * (STRIDE) * (SIZE)+	array3_size(COUNT, STRIDE, SIZE)  , ...)|  kmalloc(-	(COUNT) * STRIDE * (SIZE)+	array3_size(COUNT, STRIDE, SIZE)  , ...)|  kmalloc(-	(COUNT) * (STRIDE) * (SIZE)+	array3_size(COUNT, STRIDE, SIZE)  , ...)|  kmalloc(-	COUNT * STRIDE * SIZE+	array3_size(COUNT, STRIDE, SIZE)  , ...))// Any remaining multi-factor products, first at least 3-factor products,// when they&apos;re not all constants...@@expression E1, E2, E3;constant C1, C2, C3;@@(  kmalloc(C1 * C2 * C3, ...)|  kmalloc(-	(E1) * E2 * E3+	array3_size(E1, E2, E3)  , ...)|  kmalloc(-	(E1) * (E2) * E3+	array3_size(E1, E2, E3)  , ...)|  kmalloc(-	(E1) * (E2) * (E3)+	array3_size(E1, E2, E3)  , ...)|  kmalloc(-	E1 * E2 * E3+	array3_size(E1, E2, E3)  , ...))// And then all remaining 2 factors products when they&apos;re not all constants,// keeping sizeof() as the second factor argument.@@expression THING, E1, E2;type TYPE;constant C1, C2, C3;@@(  kmalloc(sizeof(THING) * C2, ...)|  kmalloc(sizeof(TYPE) * C2, ...)|  kmalloc(C1 * C2 * C3, ...)|  kmalloc(C1 * C2, ...)|- kmalloc+ kmalloc_array  (-	sizeof(TYPE) * (E2)+	E2, sizeof(TYPE)  , ...)|- kmalloc+ kmalloc_array  (-	sizeof(TYPE) * E2+	E2, sizeof(TYPE)  , ...)|- kmalloc+ kmalloc_array  (-	sizeof(THING) * (E2)+	E2, sizeof(THING)  , ...)|- kmalloc+ kmalloc_array  (-	sizeof(THING) * E2+	E2, sizeof(THING)  , ...)|- kmalloc+ kmalloc_array  (-	(E1) * E2+	E1, E2  , ...)|- kmalloc+ kmalloc_array  (-	(E1) * (E2)+	E1, E2  , ...)|- kmalloc+ kmalloc_array  (-	E1 * E2+	E1, E2  , ...))Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Tue, 12 Jun 2018 20:55:00 +0000</pubDate>
        <dc:creator>Kees Cook &lt;keescook@chromium.org&gt;</dc:creator>
    </item>
<item>
        <title>b2441318 - License cleanup: add SPDX GPL-2.0 license identifier to files with no license</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#b2441318</link>
        <description>License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseMany source files in the tree are missing licensing information, whichmakes it harder for compliance tools to determine the correct license.By default all files without license information are under the defaultlicense of the kernel, which is GPL version 2.Update the files which contain no license information with the &apos;GPL-2.0&apos;SPDX license identifier.  The SPDX identifier is a legally bindingshorthand, which can be used instead of the full boiler plate text.This patch is based on work done by Thomas Gleixner and Kate Stewart andPhilippe Ombredanne.How this work was done:Patches were generated and checked against linux-4.14-rc6 for a subset ofthe use cases: - file had no licensing information it it. - file was a */uapi/* one with no licensing information in it, - file was a */uapi/* one with existing licensing information,Further patches will be generated in subsequent months to fix up caseswhere non-standard license headers were used, and references to licensehad to be inferred by heuristics based on keywords.The analysis to determine which SPDX License Identifier to be applied toa file was done in a spreadsheet of side by side results from of theoutput of two independent scanners (ScanCode &amp; Windriver) producing SPDXtag:value files created by Philippe Ombredanne.  Philippe prepared thebase worksheet, and did an initial spot review of a few 1000 files.The 4.13 kernel was the starting point of the analysis with 60,537 filesassessed.  Kate Stewart did a file by file comparison of the scannerresults in the spreadsheet to determine which SPDX license identifier(s)to be applied to the file. She confirmed any determination that was notimmediately clear with lawyers working with the Linux Foundation.Criteria used to select files for SPDX license identifier tagging was: - Files considered eligible had to be source code files. - Make and config files were included as candidates if they contained &gt;5   lines of source - File already had some variant of a license header in it (even if &lt;5   lines).All documentation files were explicitly excluded.The following heuristics were used to determine which SPDX licenseidentifiers to apply. - when both scanners couldn&apos;t find any license traces, file was   considered to have no license information in it, and the top level   COPYING file license applied.   For non */uapi/* files that summary was:   SPDX license identifier                            # files   ---------------------------------------------------|-------   GPL-2.0                                              11139   and resulted in the first patch in this series.   If that file was a */uapi/* path one, it was &quot;GPL-2.0 WITH   Linux-syscall-note&quot; otherwise it was &quot;GPL-2.0&quot;.  Results of that was:   SPDX license identifier                            # files   ---------------------------------------------------|-------   GPL-2.0 WITH Linux-syscall-note                        930   and resulted in the second patch in this series. - if a file had some form of licensing information in it, and was one   of the */uapi/* ones, it was denoted with the Linux-syscall-note if   any GPL family license was found in the file or had no licensing in   it (per prior point).  Results summary:   SPDX license identifier                            # files   ---------------------------------------------------|------   GPL-2.0 WITH Linux-syscall-note                       270   GPL-2.0+ WITH Linux-syscall-note                      169   ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause)    21   ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)    17   LGPL-2.1+ WITH Linux-syscall-note                      15   GPL-1.0+ WITH Linux-syscall-note                       14   ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause)    5   LGPL-2.0+ WITH Linux-syscall-note                       4   LGPL-2.1 WITH Linux-syscall-note                        3   ((GPL-2.0 WITH Linux-syscall-note) OR MIT)              3   ((GPL-2.0 WITH Linux-syscall-note) AND MIT)             1   and that resulted in the third patch in this series. - when the two scanners agreed on the detected license(s), that became   the concluded license(s). - when there was disagreement between the two scanners (one detected a   license but the other didn&apos;t, or they both detected different   licenses) a manual inspection of the file occurred. - In most cases a manual inspection of the information in the file   resulted in a clear resolution of the license that should apply (and   which scanner probably needed to revisit its heuristics). - When it was not immediately clear, the license identifier was   confirmed with lawyers working with the Linux Foundation. - If there was any question as to the appropriate license identifier,   the file was flagged for further research and to be revisited later   in time.In total, over 70 hours of logged manual review was done on thespreadsheet to determine the SPDX license identifiers to apply to thesource files by Kate, Philippe, Thomas and, in some cases, confirmationby lawyers working with the Linux Foundation.Kate also obtained a third independent scan of the 4.13 code base fromFOSSology, and compared selected files where the other two scannersdisagreed against that SPDX file, to see if there was new insights.  TheWindriver scanner is based on an older version of FOSSology in part, sothey are related.Thomas did random spot checks in about 500 files from the spreadsheetsfor the uapi headers and agreed with SPDX license identifier in thefiles he inspected. For the non-uapi files Thomas did random spot checksin about 15000 files.In initial set of patches against 4.14-rc6, 3 files were found to havecopy/paste license identifier errors, and have been fixed to reflect thecorrect identifier.Additionally Philippe spent 10 hours this week doing a detailed manualinspection and review of the 12,461 patched files from the initial patchversion early this week with: - a full scancode scan run, collecting the matched texts, detected   license ids and scores - reviewing anything where there was a license detected (about 500+   files) to ensure that the applied SPDX license was correct - reviewing anything where there was no detection but the patch license   was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied   SPDX license was correctThis produced a worksheet with 20 files needing minor correction.  Thisworksheet was then exported into 3 different .csv files for thedifferent types of files to be modified.These .csv files were then reviewed by Greg.  Thomas wrote a script toparse the csv files and add the proper SPDX tag to the file, in theformat that the file expected.  This script was further refined by Gregbased on the output to detect more types of files automatically and todistinguish between header and source .c files (which need differentcomment types.)  Finally Greg ran the script using the .csv files togenerate the patches.Reviewed-by: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;Reviewed-by: Philippe Ombredanne &lt;pombredanne@nexb.com&gt;Reviewed-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Wed, 01 Nov 2017 14:07:57 +0000</pubDate>
        <dc:creator>Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;</dc:creator>
    </item>
<item>
        <title>77478715 - ceph: use get_user_pages_fast()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#77478715</link>
        <description>ceph: use get_user_pages_fast()Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Fri, 22 Sep 2017 22:23:17 +0000</pubDate>
        <dc:creator>Al Viro &lt;viro@zeniv.linux.org.uk&gt;</dc:creator>
    </item>
<item>
        <title>c164154f - mm: replace get_user_pages_unlocked() write/force parameters with gup_flags</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#c164154f</link>
        <description>mm: replace get_user_pages_unlocked() write/force parameters with gup_flagsThis removes the &apos;write&apos; and &apos;force&apos; use from get_user_pages_unlocked()and replaces them with &apos;gup_flags&apos; to make the use of FOLL_FORCEexplicit in callers as use of this flag can result in surprisingbehaviour (and hence bugs) within the mm subsystem.Signed-off-by: Lorenzo Stoakes &lt;lstoakes@gmail.com&gt;Reviewed-by: Jan Kara &lt;jack@suse.cz&gt;Acked-by: Michal Hocko &lt;mhocko@suse.com&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Thu, 13 Oct 2016 00:20:13 +0000</pubDate>
        <dc:creator>Lorenzo Stoakes &lt;lstoakes@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>09cbfeaf - mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#09cbfeaf</link>
        <description>mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosPAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* timeago with promise that one day it will be possible to implement pagecache with bigger chunks than PAGE_SIZE.This promise never materialized.  And unlikely will.We have many places where PAGE_CACHE_SIZE assumed to be equal toPAGE_SIZE.  And it&apos;s constant source of confusion on whetherPAGE_CACHE_* or PAGE_* constant should be used in a particular case,especially on the border between fs and mm.Global switching to PAGE_CACHE_SIZE != PAGE_SIZE would cause to muchbreakage to be doable.Let&apos;s stop pretending that pages in page cache are special.  They arenot.The changes are pretty straight-forward: - &lt;foo&gt; &lt;&lt; (PAGE_CACHE_SHIFT - PAGE_SHIFT) -&gt; &lt;foo&gt;; - &lt;foo&gt; &gt;&gt; (PAGE_CACHE_SHIFT - PAGE_SHIFT) -&gt; &lt;foo&gt;; - PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} -&gt; PAGE_{SIZE,SHIFT,MASK,ALIGN}; - page_cache_get() -&gt; get_page(); - page_cache_release() -&gt; put_page();This patch contains automated changes generated with coccinelle usingscript below.  For some reason, coccinelle doesn&apos;t patch header files.I&apos;ve called spatch for them manually.The only adjustment after coccinelle is revert of changes toPAGE_CAHCE_ALIGN definition: we are going to drop it later.There are few places in the code where coccinelle didn&apos;t reach.  I&apos;llfix them manually in a separate patch.  Comments and documentation alsowill be addressed with the separate patch.virtual patch@@expression E;@@- E &lt;&lt; (PAGE_CACHE_SHIFT - PAGE_SHIFT)+ E@@expression E;@@- E &gt;&gt; (PAGE_CACHE_SHIFT - PAGE_SHIFT)+ E@@@@- PAGE_CACHE_SHIFT+ PAGE_SHIFT@@@@- PAGE_CACHE_SIZE+ PAGE_SIZE@@@@- PAGE_CACHE_MASK+ PAGE_MASK@@expression E;@@- PAGE_CACHE_ALIGN(E)+ PAGE_ALIGN(E)@@expression E;@@- page_cache_get(E)+ get_page(E)@@expression E;@@- page_cache_release(E)+ put_page(E)Signed-off-by: Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;Acked-by: Michal Hocko &lt;mhocko@suse.com&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Fri, 01 Apr 2016 12:29:47 +0000</pubDate>
        <dc:creator>Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>d4edcf0d - mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#d4edcf0d</link>
        <description>mm/gup: Switch all callers of get_user_pages() to not pass tsk/mmWe will soon modify the vanilla get_user_pages() so it can nolonger be used on mm/tasks other than &apos;current/current-&gt;mm&apos;,which is by far the most common way it is called.  For now,we allow the old-style calls, but warn when they are used.(implemented in previous patch)This patch switches all callers of:	get_user_pages()	get_user_pages_unlocked()	get_user_pages_locked()to stop passing tsk/mm so they will no longer see the warnings.Signed-off-by: Dave Hansen &lt;dave.hansen@linux.intel.com&gt;Reviewed-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Andrea Arcangeli &lt;aarcange@redhat.com&gt;Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;Cc: Andy Lutomirski &lt;luto@amacapital.net&gt;Cc: Borislav Petkov &lt;bp@alien8.de&gt;Cc: Brian Gerst &lt;brgerst@gmail.com&gt;Cc: Dave Hansen &lt;dave@sr71.net&gt;Cc: Denys Vlasenko &lt;dvlasenk@redhat.com&gt;Cc: H. Peter Anvin &lt;hpa@zytor.com&gt;Cc: Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;Cc: Naoya Horiguchi &lt;n-horiguchi@ah.jp.nec.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Rik van Riel &lt;riel@redhat.com&gt;Cc: Srikar Dronamraju &lt;srikar@linux.vnet.ibm.com&gt;Cc: Vlastimil Babka &lt;vbabka@suse.cz&gt;Cc: jack@suse.czCc: linux-mm@kvack.orgLink: http://lkml.kernel.org/r/20160212210156.113E9407@viggo.jf.intel.comSigned-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Fri, 12 Feb 2016 21:01:56 +0000</pubDate>
        <dc:creator>Dave Hansen &lt;dave.hansen@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>b01da6a0 - libceph: use kvfree() instead of open-coding it</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#b01da6a0</link>
        <description>libceph: use kvfree() instead of open-coding itThis one sneaked in through vfs tree with commit 2b777c9dd9eb(&quot;ceph_sync_read: stop poking into iov_iter guts&quot;).Signed-off-by: Ilya Dryomov &lt;idryomov@gmail.com&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Mon, 04 May 2015 11:10:11 +0000</pubDate>
        <dc:creator>Ilya Dryomov &lt;idryomov@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>7e339128 - mm: gup: use get_user_pages_unlocked</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#7e339128</link>
        <description>mm: gup: use get_user_pages_unlockedThis allows those get_user_pages calls to pass FAULT_FLAG_ALLOW_RETRY tothe page fault in order to release the mmap_sem during the I/O.Signed-off-by: Andrea Arcangeli &lt;aarcange@redhat.com&gt;Reviewed-by: Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;Cc: Andres Lagar-Cavilla &lt;andreslc@google.com&gt;Cc: Peter Feiner &lt;pfeiner@google.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Wed, 11 Feb 2015 23:27:26 +0000</pubDate>
        <dc:creator>Andrea Arcangeli &lt;aarcange@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>2b777c9d - ceph_sync_read: stop poking into iov_iter guts</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#2b777c9d</link>
        <description>ceph_sync_read: stop poking into iov_iter gutsSigned-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Fri, 04 Apr 2014 02:31:22 +0000</pubDate>
        <dc:creator>Al Viro &lt;viro@zeniv.linux.org.uk&gt;</dc:creator>
    </item>
<item>
        <title>903bb32e - libceph: drop return value from page vector copy routines</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#903bb32e</link>
        <description>libceph: drop return value from page vector copy routinesThe return values provided for ceph_copy_to_page_vector() andceph_copy_from_page_vector() serve no purpose, so get rid of them.Signed-off-by: Alex Elder &lt;elder@inktank.com&gt;Reviewed-by: Josh Durgin &lt;josh.durgin@inktank.com&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Wed, 06 Feb 2013 19:11:38 +0000</pubDate>
        <dc:creator>Alex Elder &lt;elder@inktank.com&gt;</dc:creator>
    </item>
<item>
        <title>b324814e - libceph: use void pointers in page vector functions</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#b324814e</link>
        <description>libceph: use void pointers in page vector functionsThe functions used for working with ceph page vectors are definedwith char pointers, but they&apos;re really intended to operate onuntyped data.  Change the types of these function parametersto (void *) to reflect this.(Note that the functions now assume void pointer arithmetic workslike arithmetic on char pointers.)Signed-off-by: Alex Elder &lt;elder@inktank.com&gt;Reviewed-by: Josh Durgin &lt;josh.durgin@inktank.com&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Wed, 06 Feb 2013 19:11:38 +0000</pubDate>
        <dc:creator>Alex Elder &lt;elder@inktank.com&gt;</dc:creator>
    </item>
<item>
        <title>38815b78 - libceph: fix handling of short returns from get_user_pages</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#38815b78</link>
        <description>libceph: fix handling of short returns from get_user_pagesget_user_pages() can return fewer pages than we ask for.  We were returninga bogus pointer/error code in that case.  Instead, loop until we get allthe pages we want or get an error we can return to the caller.Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Thu, 03 Mar 2011 00:55:21 +0000</pubDate>
        <dc:creator>Sage Weil &lt;sage@newdream.net&gt;</dc:creator>
    </item>
<item>
        <title>361cf405 - ceph: handle partial result from get_user_pages</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#361cf405</link>
        <description>ceph: handle partial result from get_user_pagesThe get_user_pages() helper can return fewer than the requested pages.Error out in that case, and clean up the partial result.Signed-off-by: Henry C Chang &lt;henry_c_chang@tcloudcomputing.com&gt;Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Fri, 17 Dec 2010 17:55:59 +0000</pubDate>
        <dc:creator>Henry C Chang &lt;henry_c_chang@tcloudcomputing.com&gt;</dc:creator>
    </item>
<item>
        <title>b6aa5901 - ceph: mark user pages dirty on direct-io reads</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#b6aa5901</link>
        <description>ceph: mark user pages dirty on direct-io readsFor read operation, we have to set the argument _write_ of get_user_pagesto 1 since we will write data to pages. Also, we need to SetPageDirty beforereleasing these pages.Signed-off-by: Henry C Chang &lt;henry_c_chang@tcloudcomputing.com&gt;Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Thu, 16 Dec 2010 04:45:41 +0000</pubDate>
        <dc:creator>Henry C Chang &lt;henry_c_chang@tcloudcomputing.com&gt;</dc:creator>
    </item>
<item>
        <title>e98b6fed - ceph: fix comment, remove extraneous args</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#e98b6fed</link>
        <description>ceph: fix comment, remove extraneous argsThe offset/length arguments aren&apos;t used.Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Tue, 09 Nov 2010 20:24:53 +0000</pubDate>
        <dc:creator>Sage Weil &lt;sage@newdream.net&gt;</dc:creator>
    </item>
<item>
        <title>3d14c5d2 - ceph: factor out libceph from Ceph file system</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/ceph/pagevec.c#3d14c5d2</link>
        <description>ceph: factor out libceph from Ceph file systemThis factors out protocol and low-level storage parts of ceph into aseparate libceph module living in net/ceph and include/linux/ceph.  Thisis mostly a matter of moving files around.  However, a few key piecesof the interface change as well: - ceph_client becomes ceph_fs_client and ceph_client, where the latter   captures the mon and osd clients, and the fs_client gets the mds client   and file system specific pieces. - Mount option parsing and debugfs setup is correspondingly broken into   two pieces. - The mon client gets a generic handler callback for otherwise unknown   messages (mds map, in this case). - The basic supported/required feature bits can be expanded (and are by   ceph_fs_client).No functional change, aside from some subtle error handling cases that gotcleaned up in the refactoring process.Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;

            List of files:
            /linux-6.15/net/ceph/pagevec.c</description>
        <pubDate>Tue, 06 Apr 2010 22:14:15 +0000</pubDate>
        <dc:creator>Yehuda Sadeh &lt;yehuda@hq.newdream.net&gt;</dc:creator>
    </item>
</channel>
</rss>
