Messages in this thread | | | Date | Tue, 13 Jun 2006 14:27:20 +1000 | From | Nick Piggin <> | Subject | Re: [PATCH]: Adding a counter in vma to indicate the number of physical pages backing it |
| |
Andi Kleen wrote:
>On Monday 12 June 2006 21:42, Rohit Seth wrote: > >>I think having this >>information in each vma keeps the impact (of adding new counter) to very >>low. >> >>Second question is to advertize this value to user space. Please let me >>know what suites the most among /proc, /sys or system call (or if there >>is any other mechanism then let me know) for a per process per segment >>related information. >> > >I think we first need to identify the basic need. >Don't see why we even need per VMA information so far. >
Exactly. There is no question that walking page tables will be slower than having a counter like your patch does; the question is why we need it.
--
Send instant messages to your online friends http://au.messenger.yahoo.com
- 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/
| |