On Wed, 2009-10-21 at 13:01 -0700, Thomas Schlichter wrote: > OK, so I think the attached patches should do it. Hopefully I have addressed > all your comments.
Thomas, I have couple of issues with this patchset still. pci_mmap_page_range() doesn't get called for each fork(). So, we won't be ref counting the mtrr usage properly. I need to think a bit more carefully on this. Can I get back to you early next week on this, as I am traveling and need to think through this? We already keep track of some of the PAT ref counting using track_pfn_vma_copy(). And we need to extend/use something similar here. Even if we need to extend sysfs or pci vma ops, we need to increment and decrement the ref count of the mtrr register that gets used. There is no need to go through num_var_ranges etc. thanks, suresh ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel