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]
Date:	Fri, 24 Jul 2009 12:08:11 +0900
From:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To:	Li Zefan <lizf@...fujitsu.com>
Cc:	Dave Hansen <dave@...ux.vnet.ibm.com>, akpm@...ux-foundation.org,
	containers@...ts.linux-foundation.org,
	linux-kernel@...r.kernel.org, menage@...gle.com,
	vda.linux@...glemail.com, mikew@...gle.com,
	xiyou.wangcong@...il.com, hpa@...or.com, bblum@...gle.com
Subject: Re: [RFC][PATCH] flexible array implementation v4

On Fri, 24 Jul 2009 11:02:28 +0800
Li Zefan <lizf@...fujitsu.com> wrote:

> Dave Hansen wrote:
> > Remaining issues:
> > - How should we deal with out-of-range indexes, especially
> >   in flex_array_get() which returns void*?  ERR_PTR()?
> >   BUG_ON()?  return NULL (current behavior)?
> > - Should care be taken not to allow a flex_array_get() to
> >   an index where no flex_array_put() was done?
> > - Should we decay further than just packing things into the
> >   'base' page?  Should we actually kmalloc() less than a
> >   page at times when it will fit?
> > 
> 
> I sugguest find some candidate users and see how this flex_array
> fits them.
> 
Hmm, can't we rewrite cgroup->tasks file using this ?
I'll try some if I have time.

-Kame


--
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