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


Groups > linux.kernel > #1238676

Re: [PATCH 14/15] mm, dax, pmem: introduce {get|put}_dev_pagemap() for dax-gup

From Logan Gunthorpe <logang@deltatee.com>
Newsgroups linux.kernel
Subject Re: [PATCH 14/15] mm, dax, pmem: introduce {get|put}_dev_pagemap() for dax-gup
Date 2015-10-03 00:50 +0200
Message-ID <qfhjk-de-11@gated-at.bofh.it> (permalink)
References <qbKae-20h-7@gated-at.bofh.it> <qbKae-20h-13@gated-at.bofh.it> <qfgwW-7vm-3@gated-at.bofh.it> <qfgwW-7vm-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 02/10/15 03:53 PM, Dan Williams wrote:
> Yes, this location for dev_pagemap will not work.  I've since moved it
> to a union with the lru list_head since ZONE_DEVICE pages memory
> should always have an elevated page count and never land on a slab
> allocator lru.

Oh, also, I was actually hoping to make use of the lru list_head in the 
future with ZONE_DEVICE memory. One thought I had was once we have a 
PCIe device with a BAR space, we'd then need to have a way of allocating 
these buffers when user space needs them. The simple way I was thinking 
was to just use the lru list head to store lists of used and unused 
pages -- though there are probably other solutions to this that don't 
require using struct pages.

Thanks,

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

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


Thread

[PATCH 14/15] mm, dax,  pmem: introduce {get|put}_dev_pagemap() for dax-gup Dan Williams <dan.j.williams@intel.com> - 2015-09-23 06:50 +0200
  Re: [PATCH 14/15] mm, dax, pmem: introduce {get|put}_dev_pagemap()  for dax-gup Logan Gunthorpe <logang@deltatee.com> - 2015-10-03 00:00 +0200
    Re: [PATCH 14/15] mm, dax, pmem: introduce {get|put}_dev_pagemap()  for dax-gup Dan Williams <dan.j.williams@intel.com> - 2015-10-03 00:00 +0200
      Re: [PATCH 14/15] mm, dax, pmem: introduce {get|put}_dev_pagemap()  for dax-gup Logan Gunthorpe <logang@deltatee.com> - 2015-10-03 00:20 +0200
      Re: [PATCH 14/15] mm, dax, pmem: introduce {get|put}_dev_pagemap()  for dax-gup Logan Gunthorpe <logang@deltatee.com> - 2015-10-03 00:50 +0200
        Re: [PATCH 14/15] mm, dax, pmem: introduce {get|put}_dev_pagemap()  for dax-gup Dan Williams <dan.j.williams@intel.com> - 2015-10-03 01:00 +0200

csiph-web