Re: [PATCH 2/2] virtio_balloon: fix race between migration and ballooning

2016-01-03 Thread Minchan Kim
On Fri, Jan 01, 2016 at 11:36:13AM +0200, Michael S. Tsirkin wrote: > On Mon, Dec 28, 2015 at 08:35:13AM +0900, Minchan Kim wrote: > > In balloon_page_dequeue, pages_lock should cover the loop > > (ie, list_for_each_entry_safe). Otherwise, the cursor page could > > be isolated by compaction and

[PATCH 1/2] mmc: mmci: fix an ages old detection error

2016-01-03 Thread Linus Walleij
commit 4956e10903fd3459306dd9438c1e714ba3068a2a "ARM: 6244/1: mmci: add variant data and default MCICLOCK support" added variant data for ARM, U300 and Ux500 variants. The Nomadik NHK8815/8820 variant was erroneously labeled as a U300 variant, and when the proper Nomadik variant was later

[PATCH] ARM: nomadik: set latencies to 8 cycles

2016-01-03 Thread Linus Walleij
The Nomadik has sporadic crashes because of these latencies, setting them to max makes the platform work nicely, so use this values for now. These latencies were set to 2 since the Nomadik platform was merged, but I suspect they never took effect until the right size and associativity for the

[PATCH] dell-wmi: Stop storing pointers to DMI tables

2016-01-03 Thread Andy Lutomirski
The dmi_walk function maps the DMI table, walks it, and unmaps it. This means that the dell_bios_hotkey_table that find_hk_type stores points to unmapped memory by the time it gets read. I've been able to trigger crashes caused by the stale pointer a couple of times, but never on a stock kernel.

Re: [PATCH] ubifs: Fix error codes in ubifs_iget()

2016-01-03 Thread Artem Bityutskiy
On Sat, 2016-01-02 at 23:11 +0100, Richard Weinberger wrote: > We cannot use positive error codes in ERR_PTR(). > IS_ERR() won't catch them. Right, but why there is a "err = -EINVAL;" when at 'out_invalid'. > Cc: stable@vger.kernel.org > Signed-off-by: Richard Weinberger I do

Re: [PATCH] ubifs: Fix error codes in ubifs_iget()

2016-01-03 Thread Artem Bityutskiy
On Sun, 2016-01-03 at 15:51 +0200, Artem Bityutskiy wrote: > On Sat, 2016-01-02 at 23:11 +0100, Richard Weinberger wrote: > > We cannot use positive error codes in ERR_PTR(). > > IS_ERR() won't catch them. > > Right, but why there is a "err = -EINVAL;" when at 'out_invalid'. Sorry Richard, I

Re: [PATCH] ubifs: Fix error codes in ubifs_iget()

2016-01-03 Thread Richard Weinberger
Am 03.01.2016 um 14:54 schrieb Artem Bityutskiy: > On Sun, 2016-01-03 at 15:51 +0200, Artem Bityutskiy wrote: >> On Sat, 2016-01-02 at 23:11 +0100, Richard Weinberger wrote: >>> We cannot use positive error codes in ERR_PTR(). >>> IS_ERR() won't catch them. >> >> Right, but why there is a "err =