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] [day] [month] [year] [list]
Message-ID: <20150119094507.GA5662@quack.suse.cz>
Date:	Mon, 19 Jan 2015 10:45:08 +0100
From:	Jan Kara <jack@...e.cz>
To:	"Wilcox, Matthew R" <matthew.r.wilcox@...el.com>
Cc:	Jan Kara <jack@...e.cz>,
	"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
	"Dilger, Andreas" <andreas.dilger@...el.com>,
	"axboe@...nel.dk" <axboe@...nel.dk>,
	"boaz@...xistor.com" <boaz@...xistor.com>,
	"david@...morbit.com" <david@...morbit.com>,
	"hch@....de" <hch@....de>,
	"kirill.shutemov@...ux.intel.com" <kirill.shutemov@...ux.intel.com>,
	"mathieu.desnoyers@...icios.com" <mathieu.desnoyers@...icios.com>,
	"rdunlap@...radead.org" <rdunlap@...radead.org>,
	"ross.zwisler@...ux.intel.com" <ross.zwisler@...ux.intel.com>,
	"tytso@....edu" <tytso@....edu>,
	"mm-commits@...r.kernel.org" <mm-commits@...r.kernel.org>,
	"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>
Subject: Re: + ext2-get-rid-of-most-mentions-of-xip-in-ext2.patch added to
 -mm tree

On Fri 16-01-15 21:09:03, Wilcox, Matthew R wrote:
> -----Original Message-----
> From: Jan Kara [mailto:jack@...e.cz] 
> Sent: Thursday, January 15, 2015 2:31 AM
> To: Wilcox, Matthew R
> Cc: akpm@...ux-foundation.org; Dilger, Andreas; axboe@...nel.dk; boaz@...xistor.com; david@...morbit.com; hch@....de; jack@...e.cz; kirill.shutemov@...ux.intel.com; mathieu.desnoyers@...icios.com; rdunlap@...radead.org; ross.zwisler@...ux.intel.com; tytso@....edu; mm-commits@...r.kernel.org; linux-ext4@...r.kernel.org
> Subject: Re: + ext2-get-rid-of-most-mentions-of-xip-in-ext2.patch added to -mm tree
> 
> On Mon 12-01-15 15:11:11, Andrew Morton wrote:
> ...
> > diff -puN fs/ext2/ext2.h~ext2-get-rid-of-most-mentions-of-xip-in-ext2 fs/ext2/ext2.h
> > --- a/fs/ext2/ext2.h~ext2-get-rid-of-most-mentions-of-xip-in-ext2
> > +++ a/fs/ext2/ext2.h
> > @@ -380,14 +380,15 @@ struct ext2_inode {
> >  #define EXT2_MOUNT_NO_UID32		0x000200  /* Disable 32-bit UIDs */
> >  #define EXT2_MOUNT_XATTR_USER		0x004000  /* Extended user attributes */
> >  #define EXT2_MOUNT_POSIX_ACL		0x008000  /* POSIX Access Control Lists */
> > -#ifdef CONFIG_FS_DAX
> > -#define EXT2_MOUNT_XIP			0x010000  /* Execute in place */
> > -#else
> > -#define EXT2_MOUNT_XIP			0
> > -#endif
> > +#define EXT2_MOUNT_XIP			0x010000  /* Obsolete, use DAX */
> >  #define EXT2_MOUNT_USRQUOTA		0x020000  /* user quota */
> >  #define EXT2_MOUNT_GRPQUOTA		0x040000  /* group quota */
> >  #define EXT2_MOUNT_RESERVATION		0x080000  /* Preallocation */
> > +#ifdef CONFIG_FS_DAX
> > +#define EXT2_MOUNT_DAX			0x100000  /* Direct Access */
> > +#else
> > +#define EXT2_MOUNT_DAX			0
> > +#endif
>   Why do you define EXT2_MOUNT_DAX differently depending on CONFIG_FS_DAX?
>   That seems unnecessary...
> 
> That's copied from the original XIP code.  I think the intent is to make the XIP/DAX code disappear from the module, rather than being dead code cluttering up the object file.
  I see. OK.

								Honza

-- 
Jan Kara <jack@...e.cz>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ