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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <COL130-W1779F50C23B3E7EA23A707BAF80@phx.gbl>
Date:	Sun, 12 Apr 2015 07:17:11 +0000
From:	ZhangNeil <neilzhang1123@...mail.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
CC:	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v2] mm: show free pages per each migrate type



----------------------------------------
> Date: Thu, 9 Apr 2015 21:24:41 -0700
> From: akpm@...ux-foundation.org
> To: neilzhang1123@...mail.com
> CC: linux-mm@...ck.org; linux-kernel@...r.kernel.org
> Subject: Re: [PATCH v2] mm: show free pages per each migrate type
>
> On Fri, 10 Apr 2015 04:16:15 +0000 ZhangNeil <neilzhang1123@...mail.com> wrote:
>
>>> I think we can eliminate nr_free[][]:
>>
>> what about make it as global__variable?
>
> That isn't as good - it permanently consumes memory and really requires
> new locking to protect the array from concurrent callers.
>

Then it may need to change the code a lot.

BTW:
I calculate theĀ nr_free[][] again, it is an 6x11 array of 8 in the worst case, that is 528B, is it acceptable?

Best Regards,
Neil Zhang 		 	   		  --
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