08 Sep, 2005
2 commits
-
This patch introduces a kzalloc wrapper and converts kernel/ to use it. It
saves a little program text.Signed-off-by: Pekka Enberg
Signed-off-by: Adrian Bunk
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
With "-W -Wno-unused -Wno-sign-compare" I get the following compile warning:
CC kernel/workqueue.o
kernel/workqueue.c: In function `workqueue_cpu_callback':
kernel/workqueue.c:504: warning: ordered comparison of pointer with integer zeroOn error create_workqueue_thread() returns NULL, not negative pointer, so
following trivial patch suggests itself.Signed-off-by: Mika Kukkonen
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
11 Aug, 2005
1 commit
-
We have a chek in there to make sure that the name won't overflow
task_struct.comm[], but it's triggering for scsi with lots of HBAs, only
scsi is using single-threaded workqueues which don't append the "/%d"
anyway.All too hard. Just kill the BUG_ON.
Cc: Ingo Molnar
Signed-off-by: Andrew Morton[ kthread_create() uses vsnprintf() and limits the thing, so no
actual overflow can actually happen regardless ]Signed-off-by: Linus Torvalds
17 Apr, 2005
2 commits
-
This was unexported by Arjan because we have no current users.
However, during a conversion from tasklets to workqueues of the parisc led
functions, we ran across a case where this was needed. In particular, the
open coded equivalent of cancel_rearming_delayed_workqueue was implemented
incorrectly, which is, I think, all the evidence necessary that this is a
useful API.Signed-off-by: James Bottomley
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!