lkml.org 
[lkml]   [2017]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 14/15] dax: associate mappings with inodes, and warn if dma collides with truncate
> +		struct {
> + /*
> + * ZONE_DEVICE pages are never on an lru or handled by
> + * a slab allocator, this points to the hosting device
> + * page map.
> + */
> + struct dev_pagemap *pgmap;
> + /*
> + * inode association for MEMORY_DEVICE_FS_DAX page-idle
> + * callbacks. Note that we don't use ->mapping since
> + * that has hard coded page-cache assumptions in
> + * several paths.
> + */

What assumptions? I'd much rather fix those up than having two fields
that have the same functionality.

\
 
 \ /
  Last update: 2017-11-10 10:09    [W:0.114 / U:3.716 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site