lkml.org 
[lkml]   [2013]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 0/2] Protect cpu map updates from ACPI processor
Date
On Monday, August 12, 2013 06:55:03 PM Toshi Kani wrote:
> On Tue, 2013-08-13 at 02:43 +0200, Rafael J. Wysocki wrote:
> > On Monday, August 12, 2013 09:45:52 AM Toshi Kani wrote:
> > > CPU system maps are protected with reader/writer locks. The reader
> > > lock, put_online_cpus(), assures that the maps are not updated while
> > > holding the lock. The writer lock, cpu_hotplug_begin(), is used to
> > > udpate the cpu maps along with cpu_maps_update_begin().
> > >
> > > However, the ACPI processor handler updates the cpu maps without
> > > holding the the writer lock. This patchset fixes this problem.
> > >
> > > ---
> > > The patchset is based on linux-next of the pm tree.
> >
> > Basically looks OK to me, but I'd just merge the patches together,
> > because the [2/2] is the very reason for the change made by [1/2].
>
> I separated for reviewing purpose, but yes, they can be together. Let
> me know if you need me to re-send it together.

I combined them and added a changelog built out of the messages you sent in
this thread. Please check:

http://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git/commit/?h=bleeding-edge&id=b9d10be7a8e88fdcb12540387c219cdde87b0795

Thanks,
Rafael



\
 
 \ /
  Last update: 2013-08-13 14:01    [W:0.096 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site