SMP fields in struct task??

Chris Evans (
Sat, 17 Jan 1998 23:30:01 +0000 (GMT)


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.