From: Kirill Korotaev <dev@sw.ru>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] removes unnessary print of space
Date: Mon, 06 Sep 2004 12:34:37 +0400 [thread overview]
Message-ID: <413C211D.9010301@sw.ru> (raw)
In-Reply-To: <20040906000826.73157de6.akpm@osdl.org>
>>This patch removes unnessary print of space in bust_spinlocks().
>> printk("") wakeups klogd as well,
>
> Until some smarty comes along and optimises printk() to skip empty strings.
>
> An explicit wake_up_klogd() thing might make sense, rather than relying
> upon side-effects.
yup, you are right. I was the easiest, but not the best.
I'll make a patch with wakeup_klogd.
>>no need to print a space and make a mess.
> Can't say that I've ever noticed that space.
We did. Many times.
I've noticed another thing. There is a default bust_spinlocks() in
lib/bust_spinlocks.c. 4 architectures including x86 have their own
copies of it, which are exactly the same as the default one.
So do we really need lib/bust_spinlocks.c or we can move a signle copy
of this function to kernel/printk.c?
Kirill
next prev parent reply other threads:[~2004-09-06 8:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-06 7:07 [PATCH] removes unnessary print of space Kirill Korotaev
2004-09-06 7:08 ` Andrew Morton
2004-09-06 8:34 ` Kirill Korotaev [this message]
2004-09-06 8:29 ` Andrew Morton
2004-09-06 16:33 ` Randy.Dunlap
2004-09-06 12:17 ` Chris Wedgwood
2004-09-06 7:57 ` Kalin KOZHUHAROV
2004-09-06 9:03 ` Tonnerre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=413C211D.9010301@sw.ru \
--to=dev@sw.ru \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.