Messages in this thread | | | Date | Thu, 8 Apr 2004 20:48:22 +0100 (BST) | From | Hugh Dickins <> | Subject | Re: NUMA API for Linux |
| |
On Thu, 8 Apr 2004, Rajesh Venkatasubramanian wrote: > > I guess using vm_private_data for nonlinear is not a problem because > we use list i_mmap_nonlinear for nonlinear vmas. > > As you have found out vm_private_data is only used if vm_file != NULL > or VM_RESERVED or VM_DONTEXPAND is set. I think we can revert back to > i_mmap{_shared} list for such special cases and use prio_tree for > others. I maybe missing something. Please teach me.
Sorry, I don't understand what you're proposing here, and why? Oh, to save 4 bytes of vma by making the special cases use a list, no need for vm_set_head, and vm_private_data for the driver itself; but regular vmas use prio_tree, with vm_set_head in vm_private_data. Hmm, right now it's getting too much for me: can we keep it simplish for now, and come back to this later?
Hugh
- 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/
| |