[Devel] Re: [PATCH -mm] task_struct: move ->fpu_counter and ->oomkilladj

Arjan van de Ven arjan at infradead.org
Thu Sep 27 06:56:11 PDT 2007


On Thu, 27 Sep 2007 13:55:57 +0400
Alexey Dobriyan <adobriyan at sw.ru> wrote:

> There is nice 2 byte hole after struct task_struct::ioprio field
> into which we can put two 1-byte fields: ->fpu_counter and
> ->oomkilladj.
> 
> [cc'ing Arjan just in case ->fpu_counter placement wasn't completely
> random :^)]


fpu_counter was more or less random, but it does get written to
frequently (making the cacheline dirty)




More information about the Devel mailing list