lkml.org 
[lkml]   [2011]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 4/5] RCU: Add TASK_RCU_OFFSET
On 30.3.2011 12:57, Peter Zijlstra wrote:
> On Wed, 2011-03-30 at 12:55 +0200, Michal Marek wrote:
>> Subject: [PATCH] headers: Allow for lightweight inclusion of task_struct definition
>>
>> Factor out a couple of type definitions to <header>_types.h to allow
>> using task_struct without pulling tons of new dependencies via sched.h.
>
> Urgh, not pretty.. so why not clean up sched.h properly? There's way too
> much cruft in there.

It was a proof-of-concept to show that it is doable to have proper
definition of task_struct in rcupdate.h. Not an entry for any code
beauty contest.

Michal


\
 
 \ /
  Last update: 2011-03-30 13:49    [W:0.088 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site