Re: [PATCH 1/2] powerpc: Allow perf_counters to access user memory at interrupt time

2009-07-22 Thread Benjamin Herrenschmidt
On Sat, 2009-06-27 at 15:30 +1000, Paul Mackerras wrote: > This provides a mechanism to allow the perf_counters code to access > user memory in a PMU interrupt routine on a 64-bit kernel. Such an > access can cause a SLB miss interrupt and/or a MMU hash table miss > interrupt. > > An SLB miss int

[PATCH 1/2] powerpc: Allow perf_counters to access user memory at interrupt time

2009-06-26 Thread Paul Mackerras
This provides a mechanism to allow the perf_counters code to access user memory in a PMU interrupt routine on a 64-bit kernel. Such an access can cause a SLB miss interrupt and/or a MMU hash table miss interrupt. An SLB miss interrupt on a user address will update the slb_cache and slb_cache_ptr