Re: [ndclt PATCH] ndctl, monitor: Fix duplicate prefix in monitor.log

2018-08-01 Thread Masayoshi Mizuma
Hi QI, On 07/31/2018 01:15 AM, QI Fuli wrote: > When a monitor runs with [--log] option, the prefix will be dually > added to monitor.log. Therefore, the monitor cannot log the smart > notification to syslog. This patch is used to prevent prefix from > being dually added to monitor.log. > > Fixes

[PATCH] ndctl, monitor: Change the fail log priority to err.

2018-08-01 Thread Masayoshi Mizuma
From: Masayoshi Mizuma fail() is called if an error happens, but the log priority is debug, so user may not notice the error. Let's change the priority to err. Cc: QI Fuli Signed-off-by: Masayoshi Mizuma --- ndctl/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/n

Re: [RFC PATCH 1/1] device-dax: check for vma range while dax_mmap.

2018-08-01 Thread Dave Jiang
On 07/31/2018 04:46 AM, Zhang Yi wrote: > It should be prevent user map an illegal vma range which larger than > dax device phiscal resourse, as we don't have swap logic while page > faulting in dax device. This patch prevents a user mapping an illegal vma range that is larger than a dax device

RE: [PATCH 1/1] x86, pmem, acpi: Remove excessive ACPI Large Reference Count warnings

2018-08-01 Thread Moore, Robert
Are there any actual memory leaks, or this a consequence of the number of sockets? > -Original Message- > From: Mike Travis [mailto:mike.tra...@hpe.com] > Sent: Monday, July 30, 2018 12:56 PM > To: Moore, Robert ; Schmauss, Erik > ; Wysocki, Rafael J > ; Len Brown > Cc: Russ Anderson ;

Re: [PATCH 1/1] x86, pmem, acpi: Remove excessive ACPI Large Reference Count warnings

2018-08-01 Thread Russ Anderson
On Wed, Aug 01, 2018 at 07:49:14PM +, Moore, Robert wrote: > Are there any actual memory leaks, or this a consequence of the number of > sockets? It is a consequence of the number of sockets. It is not an actual memory leak. Thanks. > > -Original Message- > > From: Mike Travis [mail

RE: [PATCH 1/1] x86, pmem, acpi: Remove excessive ACPI Large Reference Count warnings

2018-08-01 Thread Moore, Robert
> -Original Message- > From: Russ Anderson [mailto:r...@hpe.com] > Sent: Wednesday, August 1, 2018 1:38 PM > To: Moore, Robert > Cc: Mike Travis ; Schmauss, Erik > ; Wysocki, Rafael J > ; Len Brown ; Russ Anderson > ; Dimitri Sivanich ; > Ross Zwisler ; Williams, Dan J > ; Verma, Vishal L

Re: [RFC PATCH 1/1] device-dax: check for vma range while dax_mmap.

2018-08-01 Thread Zhang,Yi
On 2018年08月02日 03:40, Dave Jiang wrote: > > On 07/31/2018 04:46 AM, Zhang Yi wrote: >> It should be prevent user map an illegal vma range which larger than >> dax device phiscal resourse, as we don't have swap logic while page >> faulting in dax device. > This patch prevents a user mapping an ill