interruptible_sleep_on
interruptible_sleep_onについて調査。
Linux Kernel(2.6.29.1) ソース sched.c より
void __sched interruptible_sleep_on(wait_queue_head_t *q)
{
sleep_on_common(q, TASK_INTERRUPTIBLE, MAX_SCHEDULE_TIMEOUT);
}
EXPORT_SYMBOL(interruptible_sleep_on);
__schedはsched.hより
/* Attach to any functions which should be ignored in wchan output. */ #define __sched __attribute__((__section__(".sched.text")))
__attribute__ってのは関数属性。
参考リンク
http://tiki.is.os-omicron.org/tiki.cgi?c=v&p=gcc%A4%CE%B3%C8%C4%A5%B5%A1%C7%BD
__section__(".sched.text") はセクション関係。
メモリ配置だったかな。
んで、.sched.textは何だ。
.textのサブセクション・・・?