lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPcyv4ieTpdTdH=X9o0+YQ4B+fk9Wp85a55yWKReFAXpdVnSVg@mail.gmail.com>
Date:	Thu, 28 May 2015 07:55:47 -0700
From:	Dan Williams <dan.j.williams@...el.com>
To:	Christoph Hellwig <hch@....de>
Cc:	Jens Axboe <axboe@...nel.dk>, Boaz Harrosh <boaz@...xistor.com>,
	Neil Brown <neilb@...e.de>, Dave Chinner <david@...morbit.com>,
	Lv Zheng <lv.zheng@...el.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	Stephen Rothwell <sfr@...b.auug.org.au>,
	"linux-nvdimm@...ts.01.org" <linux-nvdimm@...ts.01.org>,
	"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
	Robert Moore <robert.moore@...el.com>,
	Ingo Molnar <mingo@...nel.org>,
	Linux ACPI <linux-acpi@...r.kernel.org>,
	jmoyer <jmoyer@...hat.com>,
	Nicholas Moulin <nicholas.w.moulin@...ux.intel.com>,
	Matthew Wilcox <willy@...ux.intel.com>,
	Ross Zwisler <ross.zwisler@...ux.intel.com>,
	Vishal Verma <vishal.l.verma@...ux.intel.com>,
	Jens Axboe <axboe@...com>, Borislav Petkov <bp@...en8.de>,
	Thomas Gleixner <tglx@...utronix.de>,
	Greg KH <gregkh@...uxfoundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Andy Lutomirski <luto@...capital.net>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [GIT PULL v4 00/21] libnd: non-volatile memory device support

On Thu, May 28, 2015 at 1:51 AM, Christoph Hellwig <hch@....de> wrote:
> On Wed, May 27, 2015 at 06:24:42PM -0400, Dan Williams wrote:
>> Jens, please pull from...
>>
>>    git://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm tags/libnd-for-jens
>
> I don't really think it's quite ready.  I don't have time to sort through
> the giant steaming pile for now, but there are a few things here:

If it weren't for the fact that I almost always like the new state of
the code after an hch review I'd take offense at that steaming pile
remark ;-).

>  - stong NAK for the linker wrapping abuse in the test module

This capability has been our single largest generator of bug fixes and
regression prevention.  Please tell me you have a non-bikeshed
argument why this test approach must die?  We need more tests in tree,
not less.  That said, it's at the end of the series ready to be lopped
off like a spent booster rocket if it's really a blocker.

>  - you must run the ioctls past the linux-api list at least

Ok.

>  - please make sure the legacy e820 changes are properly tested.  I could
>    take of it, but not until Wednesday next week as I'm travelling right
>    now.

We regularly test the pmem driver, but I'll put an e820 config through
some extra paces.  In fact it's already better than the in-tree
version which fails to autoload the driver module (missing module
alias).

# grep -o memmap.* /proc/cmdline
memmap=1G!4G libnd.dyndbg rw

# cat /proc/partitions | grep pmem
 259        0    1048576 pmem0

# readlink -f /sys/block/pmem0/device
/sys/devices/platform/e820_pmem/ndbus0/region0/namespace0.0

> Also a little nitpick on naming:  why is this still nd instead of the
> widely used nvdimm?

It makes the identifier prefixes shorter is the bulk of the reasoning
and a hardware memory resource need not always be a "dimm".  If it's
just the top-level directory I'm fine with 'nvdimm' or are you looking
for a rename throughout?

> Also as very little of it is related to block drivers
> and a lot is management it should be under drivers/ not drivers/block/
> I think.

Fine with me.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ