Re: [PATCH RT] nvdimm: make lane acquirement RT aware

2019-03-07 Thread Pankaj Gupta
> Currently, nvdimm driver isn't RT compatible. > nd_region_acquire_lane() disables preemption with get_cpu() which > causes "scheduling while atomic" spews on RT, when using fio to test > pmem as block device. > > In this change, we replace get_cpu/put_cpu with local_lock_cpu/ >

Hang / zombie process from Xarray page-fault conversion (bisected)

2019-03-07 Thread Dan Williams
Hi Willy, We're seeing a case where RocksDB hangs and becomes defunct when trying to kill the process. v4.19 succeeds and v4.20 fails. Robert was able to bisect this to commit b15cd800682f "dax: Convert page fault handlers to XArray". I see some direct usage of xa_index and wonder if there are

delivery failed

2019-03-07 Thread Bounced mail
The original message was received at Fri, 8 Mar 2019 11:38:20 +0800 from lists.01.org [64.160.146.230] - The following addresses had permanent fatal errors - - Transcript of session follows - while talking to lists.01.org.: >>> MAIL From:"Bounced mail" <<< 501 "Bounced mail"

RE: [PATCH RT] nvdimm: make lane acquirement RT aware

2019-03-07 Thread Liu, Yongxin
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Sebastian Andrzej Siewior > Sent: Thursday, March 7, 2019 22:34 > To: Liu, Yongxin > Cc: linux-ker...@vger.kernel.org; linux-rt-us...@vger.kernel.org; >

Re: [PATCH RT] nvdimm: make lane acquirement RT aware

2019-03-07 Thread Sebastian Andrzej Siewior
On 2019-03-06 17:57:09 [+0800], Yongxin Liu wrote: > In this change, we replace get_cpu/put_cpu with local_lock_cpu/ > local_unlock_cpu, and introduce per CPU variable "ndl_local_lock". > Due to preemption on RT, this lock can avoid race condition for the > same lane on the same CPU. When CPU