Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1361986

Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

From "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release} macros
Date 2016-03-21 17:40 +0100
Message-ID <rfb22-8iP-25@gated-at.bofh.it> (permalink)
References <rf6OK-5pB-7@gated-at.bofh.it> <rfaSm-8fz-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Mar 21, 2016 at 11:25:09AM -0500, Christoph Lameter wrote:
> On Mon, 21 Mar 2016, Kirill A. Shutemov wrote:
> 
> > PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time ago
> > with promise that one day it will be possible to implement page cache with
> > bigger chunks than PAGE_SIZE.
> >
> > This promise never materialized. And unlikely will.
> 
> So we decided that we are never going to put THP pages on a LRU?

Err?.. What?

We do have anon-THP pages on LRU. My huge tmpfs patchset also put
file-THPs on LRU list.

The patchset has nothing to do with THP or them being on LRU.

> Will this actually work if we have really huge memory (100s of TB) where
> almost everything is a huge page? Guess we have to use hugetlbfs and we
> need to think about this as being exempt from paging.

Sorry, I failed to understand your message.

Look on huge tmpfs patchset. It allows both small and huge pages in page
cache.

Anyway, it's out of scope of the patchset.

-- 
 Kirill A. Shutemov

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release} macros "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-03-21 13:10 +0100
  Re: [PATCH 1/3] mm, fs: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros Michal Hocko <mhocko@kernel.org> - 2016-03-21 13:50 +0100
  Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release}  macros Christoph Lameter <cl@linux.com> - 2016-03-21 17:30 +0100
    Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-03-21 17:40 +0100
      Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release}  macros Christoph Lameter <cl@linux.com> - 2016-03-21 18:00 +0100
        Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-03-21 18:10 +0100
          Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release}  macros Christoph Lameter <cl@linux.com> - 2016-03-21 18:30 +0100
            Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-03-22 11:50 +0100
              Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release}  macros Christoph Lameter <cl@linux.com> - 2016-03-22 16:30 +0100
  Re: [PATCH 1/3] mm, fs: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros Linus Torvalds <torvalds@linux-foundation.org> - 2016-03-21 18:10 +0100
    Re: [PATCH 1/3] mm, fs: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-03-21 18:10 +0100

csiph-web