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: <YQQAkfGXjdDc/3na@kroah.com>
Date:   Fri, 30 Jul 2021 15:37:21 +0200
From:   Greg KH <gregkh@...uxfoundation.org>
To:     "qiaoyanbo_310@....com" <qiaoyanbo_310@....com>
Cc:     rafael@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: Re: [PATCH] kobject: kobject_add_internal cleanup

On Fri, Jul 30, 2021 at 08:47:28PM +0800, qiaoyanbo_310@....com wrote:
> On Fri, Jul 30, 2021 at 06:48:23AM +0200, Greg KH wrote:
> > On Fri, Jul 30, 2021 at 12:44:26AM +0800, qiaoyanbo_310 wrote:
> > > Hi Greg KH,
> > 
> > Sorry, but html email is rejected by the mailing lists.  Please try
> > again after fixing up your email client, and I will be glad to respond.
> > 
> > thanks,
> > 
> > greg k-h
> 
> (Sorry, this is the first time I use the mutt environment to send mail,
> 	shamed on me I know~)
> 
> >Why is this a problem?  What bug is this solving?  Is the code somehow
> >now faster or smaller that can be measured? 
> 
> I don't think the logic of the original code is self consistent.

I no longer even remember what the patch was anymore here, sorry.
That's the problem when emails are not quoted properly :(

> This is not a bug,  but it causes  some unnecessary assignment operations.

Are you sure?  What would set the kobject parent to NULL then?

> This patch is to clean unnecessary assignment operations.

Are you sure there is anything unneeded?  Have you measured the
performance issues here?  What benchmark is affected by this?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ