Skip to contentSkip to conversation

set_current_state()]

[email protected]: Christophe Lucas 2 participants 2 messages May 2, 2005 Kernel janitors

lore
Share & tools
lore
#0 lore raw

----- Forwarded message from Christophe Lucas <[email protected]> -----
From: Christophe Lucas <[email protected]>
To: [email protected]
Subject: [KJ] set_current_state()

Hi,

I have seen that in 2.6.12-rc3-kj, there is this patch :
http://coderock.org/kj/2.6.12-rc3-kj/split/set_current_state-drivers_net_tokenring_tms380tr.patch

Can it be one janitor thing ?

I think yes, and have a patchset about this kind of work.

What do you think about this?

Sorry if I waste your time.

Signature · 6 lines
	~Christophe

----- End forwarded message -----

-- 
	~Christophe

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw

Christophe,

Sorry for not replying earlier, have been swamped at work.

Quoted 4 lines

I have seen that in 2.6.12-rc3-kj, there is this patch :
http://coderock.org/kj/2.6.12-rc3-kj/split/set_current_state-drivers_net_tokenring_tms380tr.patch

Can it be one janitor thing ?

Sure, the only trick is knowing when you do and do not need memory barriers. Then you can choose between set_current_state() and __set_current_state() respectively.

Quoted 3 lines

I think yes, and have a patchset about this kind of work.

What do you think about this?

Seems reasonable -- expect some contention, though, these changes don't achieve much (as in fixing broken code), unfortunately :)

Thanks,
Nish

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors