On Thu, Mar 17, 2016 at 03:05:42PM +0200, Alexander Shishkin wrote:
> > We should be able to send IPIs with rcu_read_lock() held;
> Ok, so how about this one instead.
Looks good, thanks!
On Thu, Mar 17, 2016 at 03:05:42PM +0200, Alexander Shishkin wrote:
> > We should be able to send IPIs with rcu_read_lock() held;
> Ok, so how about this one instead.
Looks good, thanks!
Peter Zijlstra writes:
> On Mon, Mar 14, 2016 at 04:04:44PM +0200, Alexander Shishkin wrote:
>> Peter Zijlstra writes:
>
>> >> +static void perf_pmu_output_stop(struct perf_event *event)
>> >> +{
>> >> + int cpu, err;
>> >> +
>> >> + /* better be
Peter Zijlstra writes:
> On Mon, Mar 14, 2016 at 04:04:44PM +0200, Alexander Shishkin wrote:
>> Peter Zijlstra writes:
>
>> >> +static void perf_pmu_output_stop(struct perf_event *event)
>> >> +{
>> >> + int cpu, err;
>> >> +
>> >> + /* better be thorough */
>> >> + get_online_cpus();
>> >>
On Mon, Mar 14, 2016 at 04:04:44PM +0200, Alexander Shishkin wrote:
> Peter Zijlstra writes:
> >> +static void perf_pmu_output_stop(struct perf_event *event)
> >> +{
> >> + int cpu, err;
> >> +
> >> + /* better be thorough */
> >> + get_online_cpus();
> >> +restart:
> >>
On Mon, Mar 14, 2016 at 04:04:44PM +0200, Alexander Shishkin wrote:
> Peter Zijlstra writes:
> >> +static void perf_pmu_output_stop(struct perf_event *event)
> >> +{
> >> + int cpu, err;
> >> +
> >> + /* better be thorough */
> >> + get_online_cpus();
> >> +restart:
> >> +
Peter Zijlstra writes:
> On Fri, Mar 04, 2016 at 03:42:46PM +0200, Alexander Shishkin wrote:
>> @@ -4649,10 +4679,22 @@ static void perf_mmap_close(struct vm_area_struct
>> *vma)
>> */
>> if (rb_has_aux(rb) && vma->vm_pgoff == rb->aux_pgoff &&
>>
Peter Zijlstra writes:
> On Fri, Mar 04, 2016 at 03:42:46PM +0200, Alexander Shishkin wrote:
>> @@ -4649,10 +4679,22 @@ static void perf_mmap_close(struct vm_area_struct
>> *vma)
>> */
>> if (rb_has_aux(rb) && vma->vm_pgoff == rb->aux_pgoff &&
>>
On Fri, Mar 04, 2016 at 03:42:46PM +0200, Alexander Shishkin wrote:
> @@ -4649,10 +4679,22 @@ static void perf_mmap_close(struct vm_area_struct
> *vma)
>*/
> if (rb_has_aux(rb) && vma->vm_pgoff == rb->aux_pgoff &&
> atomic_dec_and_mutex_lock(>aux_mmap_count, >mmap_mutex))
On Fri, Mar 04, 2016 at 03:42:46PM +0200, Alexander Shishkin wrote:
> @@ -4649,10 +4679,22 @@ static void perf_mmap_close(struct vm_area_struct
> *vma)
>*/
> if (rb_has_aux(rb) && vma->vm_pgoff == rb->aux_pgoff &&
> atomic_dec_and_mutex_lock(>aux_mmap_count, >mmap_mutex))
Now that we can ensure that when ring buffer's aux area is on the way
to getting unmapped new transactions won't start, we only need to stop
all events that can potentially be writing aux data to our ring buffer.
Having done that, we can safely free the aux pages and corresponding
pmu data, as
Now that we can ensure that when ring buffer's aux area is on the way
to getting unmapped new transactions won't start, we only need to stop
all events that can potentially be writing aux data to our ring buffer.
Having done that, we can safely free the aux pages and corresponding
pmu data, as
12 matches
Mail list logo