lkml.org 
[lkml]   [2007]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 08/12] PAT 64b: coherent mmap and sysfs bin ioctl
Date
On Thursday, December 13, 2007 3:55 pm venkatesh.pallipadi@intel.com wrote:
> Forward port of coherent-mmap.patch and sysfs-bin-ioctl.patch to x86 tree.
>
> TBD: Do we need the ioctl interface to sysfs or get the type attribute
> through a different sysfs file. And then actually specify the attribute
> while doing pci_mmap_page_range ;-)
>
> And when this interface is in place, X server has to use this interface for
> WC mapping.

I remember talking with people about using madvise and/or mmap flags to set
the attributes correctly, but I don't remember whether it was a good idea or
not...

The advantage of a specific post-mmap call is that it would make setting the
attribute types a little easier, so either ioctl or madvise seems preferable
to mmapping over and over with different flags until you get the mapping.

Jesse


\
 
 \ /
  Last update: 2007-12-14 01:57    [W:0.531 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site