lkml.org 
[lkml]   [1998]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSMP fields in struct task??

Hi,

There appear to be, in sched.h, in struct task, a few SMP related fields.
If these are indeed only needed in SMP operation, wouldn't it be best to
surround them with a "#ifdef __SMP__"?

This would save a couple of pages(!) RAM in 2.1.x for the default NR_TASKS
== 512.

Chris


\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.108 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site