Muli Ben-Yehuda's journal

January 18, 2004

the evil of sleep_on()

Filed under: Uncategorized — Muli Ben-Yehuda @ 10:05 AM

There’s a discussion going on right now on lkml about the evils (read: inherent raciness) of the sleep_on() interface. Looking at trident.c, I see two uses of interruptible_sleep_on_timeout(). I have to confess I can’t immediately see the race there, but moving to the wait_event() interface is still probably in order. Unfortunately, Ranny borrowed tea, the laptop with the trident card in it, for his flight to the US and won’t return it until he comes back in a week and a half. Not being able to test your driver changes sucks.

Advertisements

2 Comments »

  1. Which particular trident card were you using?

    Comment by ideawerkz — January 18, 2004 @ 12:18 PM | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: