OpenVZ Forum


Home » Mailing lists » Devel » [PATCH -mm] task_struct: move ->fpu_counter and ->oomkilladj
Re: [PATCH -mm] task_struct: move ->fpu_counter and ->oomkilladj [message #20899 is a reply to message #20879] Thu, 27 September 2007 13:56 Go to previous message
Arjan van de Ven is currently offline  Arjan van de Ven
Messages: 14
Registered: March 2006
Junior Member
On Thu, 27 Sep 2007 13:55:57 +0400
Alexey Dobriyan <adobriyan@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)
 
Read Message
Read Message
Previous Topic: [patch 0/3][netns] several fixes/enhancements
Next Topic: [RFC][PATCH] Devices visibility container
Goto Forum:
  


Current Time: Tue Aug 26 10:58:08 GMT 2025

Total time taken to generate the page: 0.08466 seconds