Re: [systemd-devel] [WIP PATCH 4/4] ACPI: button: Fix lid notification locks

2017-06-07 Thread Zheng, Lv
Hi, Benjamin > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com] > Subject: Re: [WIP PATCH 4/4] ACPI: button: Fix lid notification locks > > On Jun 05 2017 or thereabouts, Zheng, Lv wrote: > > Hi, > > > > > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com] > > >

Re: [systemd-devel] [WIP PATCH 4/4] ACPI: button: Fix lid notification locks

2017-06-06 Thread Benjamin Tissoires
On Jun 05 2017 or thereabouts, Zheng, Lv wrote: > Hi, > > > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com] > > Subject: [WIP PATCH 4/4] ACPI: button: Fix lid notification locks > > > > From: Lv Zheng > > > > acpi/button.c now contains the logic to avoid

Re: [systemd-devel] [WIP PATCH 4/4] ACPI: button: Fix lid notification locks

2017-06-04 Thread Zheng, Lv
Hi, > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com] > Subject: [WIP PATCH 4/4] ACPI: button: Fix lid notification locks > > From: Lv Zheng > > acpi/button.c now contains the logic to avoid frequently replayed events > which originally was ensured by using

[systemd-devel] [WIP PATCH 4/4] ACPI: button: Fix lid notification locks

2017-06-01 Thread Benjamin Tissoires
From: Lv Zheng acpi/button.c now contains the logic to avoid frequently replayed events which originally was ensured by using blocking notifier. On the contrary, using a blocking notifier is wrong as it could keep on returning NOTIFY_DONE, causing events lost. This patch