Alan Ott wrote:
> Prevent set_channel() from getting called every time a packet is sent. This
> looks like it was an oversight.
at86rf230.c and derivatives avoid this problem by setting
phy->current_* in the *_channel function.
But I'd agree that it's nicer to do this in one place, not in
every
Alan Ott wrote:
Prevent set_channel() from getting called every time a packet is sent. This
looks like it was an oversight.
at86rf230.c and derivatives avoid this problem by setting
phy-current_* in the *_channel function.
But I'd agree that it's nicer to do this in one place, not in
every
Alan Ott wrote:
> 1. Most supported devices have only single packet output buffer, so
> blocking in the driver is the most straight-forward way to handle it.
> The alternative is to make each driver have a workqueue for xmit() (to
> lift the blocking out from atomic context). This makes each
Alan Ott wrote:
> it's now my opinion that we should _not_ try to retransmit at
> all in mac802154/tx.c.
I think the currently blocking workqueue design is ugly and
quite contrary to how most the rest of the stack works. So
anything that kills it has my blessing :-)
I do wonder though why it was
Alan Ott wrote:
it's now my opinion that we should _not_ try to retransmit at
all in mac802154/tx.c.
I think the currently blocking workqueue design is ugly and
quite contrary to how most the rest of the stack works. So
anything that kills it has my blessing :-)
I do wonder though why it was
Alan Ott wrote:
1. Most supported devices have only single packet output buffer, so
blocking in the driver is the most straight-forward way to handle it.
The alternative is to make each driver have a workqueue for xmit() (to
lift the blocking out from atomic context). This makes each driver
d also be
useful if auto-detection from user space yields garbage.
- Werner
--
_________
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED
the methods hotplug uses find the modules
> needed to support some hardware.
This is great, and was long overdue. Thanks for fixing my sins of
omission dating back from 1996 :-)
- Werner
--
_____
/ Werner Almesberge
hotplug uses find the modules
needed to support some hardware.
This is great, and was long overdue. Thanks for fixing my sins of
omission dating back from 1996 :-)
- Werner
--
_
/ Werner Almesberger, Buenos Aires, Argentina
oader, passing device scan results will be
very useful, plus it's a good environment for experimenting
with such a feature.
- Werner
--
_____
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http:
enough. It even
makes sense: no need to switch kernels if "pro audio" applications
(or whatever else may end up wanting this) are added to the mix,
and fewer configurations to test.
You can run, but you cannot hide :-)
- Werner
--
_____
sense: no need to switch kernels if pro audio applications
(or whatever else may end up wanting this) are added to the mix,
and fewer configurations to test.
You can run, but you cannot hide :-)
- Werner
--
_
/ Werner
results will be
very useful, plus it's a good environment for experimenting
with such a feature.
- Werner
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net
first.
- Werner
--
_____
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line "
s about the
return value.
- Werner
--
_________
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
th
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info
ues, require explicit memory barrier semantics around their
> execution.
Very confusing: the barriers aren't around the routines (that
is something the user would be doing), but around whatever does
the atomic stuff inside them.
- Werner
--
__________
t an idea ...
- Werner
--
_________
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
: the barriers aren't around the routines (that
is something the user would be doing), but around whatever does
the atomic stuff inside them.
- Werner
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED
ould perhaps just be reserved,
at least until the system has passed initialization, without trying
to copy it to a "safe" place early in kernel startup.
- Werner
--
_________
/ Werner Almesberger, Buenos Aires, Argentina
to a few hundred microseconds
(still worst-case).
- Werner
--
_____
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscrib
ery useful.
- Werner
--
_____
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line "unsubscribe
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
(still worst-case).
- Werner
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send
be reserved,
at least until the system has passed initialization, without trying
to copy it to a safe place early in kernel startup.
- Werner
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED
d in the kernel is a place to put the probe,
plus some debugging information to tell you where you find the
data (the latter possibly combined with gently coercing the
compiler to put it at some accessible place).
- Werner
--
_
can accept for regular use.
> Want to help?
Trying to, by explaining why it should move on :-) Anything else
you need ?
- Werner
--
_________
/ Werner Almesberger, Buenos Aires, Argentina [
whereas I think
we should have been running circles around them for years already.
So if there was a vote to be cast for getting kexec into mainline
as quickly as possible, you'd certainly have mine :-)
- Werner
--
_
we should have been running circles around them for years already.
So if there was a vote to be cast for getting kexec into mainline
as quickly as possible, you'd certainly have mine :-)
- Werner
--
_
/ Werner
the rest (i.e. supporting infrastructure).
3) relayfs should be lean and fast, as you intend it to be, so
that non-LTT tracing or fnord debugging fnord code may find
it useful, too.
- Werner
--
_________
/ Werner Almesbe
e kernel.
- Werner
--
_____
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line "unsubscribe l
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
and fast, as you intend it to be, so
that non-LTT tracing or fnord debugging fnord code may find
it useful, too.
- Werner
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http
e list, and monitoring the reaction), should be useful.
- Werner
--
_________
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsu
), should be useful.
- Werner
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send
ded.
- Werner
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line "unsubscri
.
- Werner
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line unsubscribe linux
nd a friendly environment.
- Werner
--
_________
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line "unsubscribe linux-k
--
_
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED
em.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubs
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscri
ce, which has already helped to find a few
real bugs. (Does EFence work with UML ?)
- Werner
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6
anachronism too.
After all, a modern Unix system has quite a few demons that you don't
want to kill either, so why make init special ? But anyway, you don't
need to change init.
- Werner
--
_________
/ Werner Almesberger, ICA
odern Unix system has quite a few demons that you don't
want to kill either, so why make init special ? But anyway, you don't
need to change init.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL
already helped to find a few
real bugs. (Does EFence work with UML ?)
- Werner
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_
les(dev/console among others)
> are\might still be in use.
Exactly. They's in use in any case until you close and re-open the
console.
- Werner
--
_________
/ Werner Almesberger, ICA, EPFL, CH [EMAI
kernel threads that don't call exit_fs.
> Not using the ramfs limits for now, will do soon.
BTW, if you can't free the RAM disk, you may have to apply
http://icawww1.epfl.ch/~almesber/patches/rdfree
- Werner
--
_
ong others)
are\might still be in use.
Exactly. They's in use in any case until you close and re-open the
console.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_
threads that don't call exit_fs.
Not using the ramfs limits for now, will do soon.
BTW, if you can't free the RAM disk, you may have to apply
http://icawww1.epfl.ch/~almesber/patches/rdfree
- Werner
--
_
/ Werner
ntly-used file stuff
> in memory so that the system can be as fast as if you used a RAM disk
> instead of real physical (slow) hard disks.
Correct, but does not require VFS.
Nice try, though.
- Werner
--
_____
/ Werner A
stuff
in memory so that the system can be as fast as if you used a RAM disk
instead of real physical (slow) hard disks.
Correct, but does not require VFS.
Nice try, though.
- Werner
--
_
/ Werner Almesberger, ICA, EPFL
quot;
- Werner (couldn't resist ;-)
--
_________
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscribe linux-kerne
ner (couldn't resist ;-)
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscribe
e amount of
letter bombs should be small ;-)
> Again, current patch reproduces the behaviour of the main tree.
Since you've already done all the work ... ;-) It's good if we can make
one change at a time.
- Werner
--
__
unt we've discussed about one year
ago ? I.e.
stat foo# output A
mount /dev/whatever /
stat foo# output B
with A != B ?
If yes, is there also a way to destroy/empty ramfs after this ?
- Werner
--
_________
/ Wern
r shaping on other
media than ATM.
- Werner
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send
is may actually be worse during bursts: if you burst exceeds
the preallocated size, you have to perform more expensive/slower
operations (e.g. running a tasklet) to refill your cache.
- Werner
--
_____
/ Werner Almesberger
media than ATM.
- Werner
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line
ussed about one year
ago ? I.e.
stat foo# output A
mount /dev/whatever /
stat foo# output B
with A != B ?
If yes, is there also a way to destroy/empty ramfs after this ?
- Werner
--
_____
/ Werner Almesb
should be small ;-)
Again, current patch reproduces the behaviour of the main tree.
Since you've already done all the work ... ;-) It's good if we can make
one change at a time.
- Werner
--
_
/ Werner Almesberger, ICA
d it make sense to flag patches that
should go into 2.4 as "Not for Alan; Linus _please_ pick it up" (and to
keep on pushing until Linus does) ?
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH
sense to flag patches that
should go into 2.4 as "Not for Alan; Linus _please_ pick it up" (and to
keep on pushing until Linus does) ?
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL
es, there _is_ IMHO a difference in telling someone on LKM,
> especially someone without deeper knowledge that is lookin for help:
Yes, also rejection can be delivered in a civilized way.
- Werner
--
_________
/ Werner Alme
ly don't do it.
- Werner
--
_________
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROT
he question is what
you expect from Linux. After all, you strongly disagree with the main
common denominator of Linux developers, that it be Open Source.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH
s what
you expect from Linux. After all, you strongly disagree with the main
common denominator of Linux developers, that it be Open Source.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More maj
_is_ IMHO a difference in telling someone on LKM,
especially someone without deeper knowledge that is lookin for help:
Yes, also rejection can be delivered in a civilized way.
- Werner
--
_____
/ Werner Almesberger, ICA
rfaces. This means that
large projects should be done openly, with occasional announcements
on linux-kernel. Building that killer subsystem in-house until
perfection is reached, and then submitting a multi-megabyte patch
isn't going to make anybody happy.
- Werner
--
___
y with the hungry looking trolls)
--
_________
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the b
ungry looking trolls)
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a mes
ely solve this, with the possible exception of
environments where a legacy OS needs to be booted. Reminds me that I should
find some time besides traffic control to work a bit on bootimg ...
- Werner
--
_
/ Werner Almesber
solve this, with the possible exception of
environments where a legacy OS needs to be booted. Reminds me that I should
find some time besides traffic control to work a bit on bootimg ...
- Werner
--
_
/ Werner Almesberger
with torches ... ;-)
- Werner
--
_________
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAI
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the F
more damage. Of course,
readily available diagnostics can't stop them, but they may at least make
it a bit more likely that people do the right thing.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMA
rl-Alt-F2.
This could of course be cured by a little window where the last three or
four printk lines are shown ...
- Werner
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6
of course be cured by a little window where the last three or
four printk lines are shown ...
- Werner
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_
,
readily available diagnostics can't stop them, but they may at least make
it a bit more likely that people do the right thing.
- Werner
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
P
.. */
- if (!vm_enough_memory((newbrk-oldbrk) >> PAGE_SHIFT))
- goto out;
-
/* Ok, looks good - let it rip. */
if (do_brk(oldbrk, newbrk-oldbrk) != oldbrk)
goto out;
--
_____
/
.. */
- if (!vm_enough_memory((newbrk-oldbrk) PAGE_SHIFT))
- goto out;
-
/* Ok, looks good - let it rip. */
if (do_brk(oldbrk, newbrk-oldbrk) != oldbrk)
goto out;
--
_
/ Werner Almesberger
linux/types.h
+#include linux/string.h
+#include linux/errno.h
#include linux/skbuff.h
#include linux/netdevice.h /* for pkt_sched */
#include linux/rtnetlink.h
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL
for trouble ...
- Werner
--
_________
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
rouble ...
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel&
thousand maps,
+certain programs, particularly malloc debuggers, may consume
+lots of them, e.g. up to one or two maps per allocation.
==========
--
_
/ Werner Almesberger,
one or two maps per allocation.
==
--
_________
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610__
ion
- if your code allows you to, put #define while if in some header file
- Werner (couldn't resist ;-)
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__F
d wave it a little under Linus' nose. Maybe
he likes the scent ;-)
In any case, once it's in 2.5.x, and if it is as useful as I suspect
it to be, it would probably be back-ported to 2.4 sooner or later.
- Werner
--
_____
/
it a little under Linus' nose. Maybe
he likes the scent ;-)
In any case, once it's in 2.5.x, and if it is as useful as I suspect
it to be, it would probably be back-ported to 2.4 sooner or later.
- Werner
--
_
/ Werner
- if your code allows you to, put #define while if in some header file
- Werner (couldn't resist ;-)
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_
he most user-friendly way for identifying things ;-)
But for the occasional problem case where label or uuid don't work,
any such information is, of course, valuable.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH
ooting/bootinglinux-0.ps.gz
for my views on such things.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsub
its boot sector
(* in principle, you could even avoid this, if you have some means of
identifying a disk (e.g. via the uuid of a file system). However,
I would consider such a solution to be overly fragile.)
- Werner
--
_____
/ We
file name and line number of the EINVAL
in *current and add an eh?(2) system call ;-)
- Werner
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6
and line number of the EINVAL
in *current and add an eh?(2) system call ;-)
- Werner
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_
/bootinglinux-0.ps.gz
for my views on such things.
- Werner
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscribe
-friendly way for identifying things ;-)
But for the occasional problem case where label or uuid don't work,
any such information is, of course, valuable.
- Werner
--
_
/ Werner Almesberger, ICA, EPFL, CH [EMAIL
1 - 100 of 174 matches
Mail list logo