<?xml version="1.0" ?>

<kc>

<title>Kernel Traffic</title>

<author contact="mailto:zbrown@tumblerings.org">Zack Brown</author>

<issue num="174" date="07 Jul 2002 23:00:00 -0800" />

<stats posts="701" size="3577" contrib="316" multiples="141" lastweek="119">

<person posts="26" size="95" who="Roy Sigurd Karlsbakk " />
<person posts="15" size="74" who="Pavel Machek " />
<person posts="12" size="48" who=" (khromy)" />
<person posts="12" size="31" who="Andrew Morton " />
<person posts="11" size="53" who="Francois Romieu " />
<person posts="10" size="175" who="Bartlomiej Zolnierkiewicz " />
<person posts="9" size="42" who="Matthew Wilcox " />
<person posts="9" size="39" who="Denis Vlasenko " />
<person posts="9" size="30" who="Robert Love " />
<person posts="8" size="194" who="Marcelo Tosatti " />
<person posts="7" size="47" who="Ulrich Wiederhold " />
<person posts="7" size="28" who="&quot;Richard B. Johnson&quot; " />
<person posts="7" size="26" who="Trond Myklebust " />
<person posts="7" size="18" who="William Lee Irwin III " />
<person posts="7" size="18" who="Ivan Kokshaysky " />
<person posts="6" size="121" who="Anton Altaparmakov " />
<person posts="6" size="54" who="Diego Calleja " />
<person posts="6" size="23" who="Bill Davidsen " />
<person posts="6" size="22" who="James Simmons " />
<person posts="6" size="17" who="Brad Hards " />
<person posts="6" size="13" who="Pete Zaitcev " />
<person posts="5" size="61" who="Pozsar Balazs " />
<person posts="5" size="60" who="Christer Weinigel " />
<person posts="5" size="52" who="Paul Menage " />
<person posts="5" size="39" who="&quot;Mala Anand&quot; " />
<person posts="5" size="22" who="Matthias Andree " />
<person posts="5" size="18" who="&quot;Alexandre P. Nunes&quot; " />
<person posts="5" size="17" who="Jakob Oestergaard " />
<person posts="5" size="16" who="Sebastian Droege " />
<person posts="5" size="16" who="Timo Benk " />
<person posts="5" size="16" who="Adrian Bunk " />
<person posts="5" size="15" who="Juri Haberland " />
<person posts="5" size="14" who="Bongani " />
<person posts="5" size="11" who="Alan Cox " />
<person posts="4" size="19" who="jw schultz " />
<person posts="4" size="16" who="Hugh Dickins " />
<person posts="4" size="16" who="&quot;Hurwitz Justin W.&quot; " />
<person posts="4" size="15" who="Nivedita Singhvi " />
<person posts="4" size="14" who="Keith Owens " />
<person posts="4" size="14" who="Petr Vandrovec " />
<person posts="4" size="13" who="Ralph Corderoy " />
<person posts="4" size="12" who="=?iso-8859-1?q?willy=20tarreau?= " />
<person posts="4" size="12" who="Manik Raina " />
<person posts="4" size="12" who=" (=?iso-8859-1?q?M=E5ns_Rullg=E5rd?=)" />
<person posts="4" size="11" who="Andi Kleen " />
<person posts="4" size="10" who="Zwane Mwaikambo " />
<person posts="4" size="9" who="" />
<person posts="3" size="31" who="Sam Ravnborg " />
<person posts="3" size="24" who="Tony Lindgren " />
<person posts="3" size="22" who="Shawn Starr " />
<person posts="3" size="17" who="Andrea Arcangeli " />
<person posts="3" size="12" who="Ed Vance " />
<person posts="3" size="12" who="Samuel Thibault " />
<person posts="3" size="11" who="george anzinger " />
<person posts="3" size="11" who="Greg Banks " />
<person posts="3" size="11" who="Matti Aarnio " />
<person posts="3" size="11" who="&quot;Salvatore D'Angelo&quot; " />
<person posts="3" size="11" who="Nix " />
<person posts="3" size="10" who="Stephen Frost " />
<person posts="3" size="10" who="J Sloan " />
<person posts="3" size="9" who="Geert Uytterhoeven " />
<person posts="3" size="9" who="Patrick Mochel " />
<person posts="3" size="9" who="Helge Hafting " />
<person posts="3" size="9" who="Axel Siebenwirth " />
<person posts="3" size="9" who="Andries Brouwer " />
<person posts="3" size="9" who="Alexander Viro " />
<person posts="3" size="9" who="Andre Hedrick " />
<person posts="3" size="8" who="&quot;Lists (lst)&quot; " />
<person posts="3" size="8" who="Gabriel Paubert " />
<person posts="3" size="8" who="=?iso-8859-1?q?philippe=20philippe?= " />
<person posts="3" size="8" who="Zwane Mwaikambo " />
<person posts="3" size="8" who="Jens Axboe " />
<person posts="3" size="8" who="&quot;H. Peter Anvin&quot; " />
<person posts="3" size="8" who="Jeff Garzik " />
<person posts="3" size="7" who="Bendi Vinaya Kumar " />
<person posts="3" size="7" who="Ingo Molnar " />
<person posts="2" size="95" who="Mark J Roberts " />
<person posts="2" size="29" who="&quot;Nicholas L. Nigay&quot; " />
<person posts="2" size="29" who="Willy TARREAU " />
<person posts="2" size="24" who="Tim Schmielau " />
<person posts="2" size="23" who="Anders Karlsson " />
<person posts="2" size="19" who="Robert White " />
<person posts="2" size="19" who="" />
<person posts="2" size="17" who="Alexandre Pereira Nunes " />
<person posts="2" size="11" who="David Golden " />
<person posts="2" size="10" who="OGAWA Hirofumi " />
<person posts="2" size="10" who="Dieter =?iso-8859-15?q?N=FCtzel?= " />
<person posts="2" size="10" who="&quot;John L. Males&quot; " />
<person posts="2" size="9" who="Tomasz Rola " />
<person posts="2" size="8" who="Philip Wyett " />
<person posts="2" size="8" who="Manuel McLure " />
<person posts="2" size="8" who="" />
<person posts="2" size="8" who="John O'Donnell " />
<person posts="2" size="8" who="Nicolas Aspert " />
<person posts="2" size="7" who="&quot;Taylor, Neville&quot; " />
<person posts="2" size="7" who="&quot;Kevin P. Fleming&quot; " />
<person posts="2" size="7" who="Jakob Kemi " />
<person posts="2" size="7" who="Serge van den Boom " />
<person posts="2" size="7" who="Pavel Gulchouck " />
<person posts="2" size="7" who="Tom Rini " />
<person posts="2" size="7" who="Tomas Szepe " />
<person posts="2" size="7" who="&quot;Stephen C. Tweedie&quot; " />
<person posts="2" size="7" who="Larry Garfield " />
<person posts="2" size="7" who="Dax Kelson " />
<person posts="2" size="7" who="Erik Andersen " />
<person posts="2" size="7" who="Christian Robert " />
<person posts="2" size="6" who="Chris Friesen " />
<person posts="2" size="6" who="&quot;Niels Christiansen&quot; " />
<person posts="2" size="6" who="Willy Tarreau " />
<person posts="2" size="6" who="Amos Waterland " />
<person posts="2" size="6" who=" (Rogier Wolff)" />
<person posts="2" size="6" who="Stephen Lord " />
<person posts="2" size="6" who="&quot;Imran Badr&quot; " />
<person posts="2" size="6" who="David Mosberger " />
<person posts="2" size="6" who="&quot;Alexandre P. Nunes&quot; " />
<person posts="2" size="6" who="Dave Jones " />
<person posts="2" size="6" who="Ken Witherow " />
<person posts="2" size="6" who="Nicolas Bougues " />
<person posts="2" size="6" who="Dax Kelson " />
<person posts="2" size="6" who="Andrew Rodland " />
<person posts="2" size="6" who="Steven Cole " />
<person posts="2" size="5" who="Jesse Pollard " />
<person posts="2" size="5" who="Ragnar Hojland Espinosa " />
<person posts="2" size="5" who="Skip Ford " />
<person posts="2" size="5" who=" (Eric W. Biederman)" />
<person posts="2" size="5" who="Xavier Bestel " />
<person posts="2" size="5" who="&quot;Matthew D. Pitts&quot; " />
<person posts="2" size="5" who="Horst von Brand " />
<person posts="2" size="5" who="Austin Gonyou " />
<person posts="2" size="5" who="Brian Strand " />
<person posts="2" size="5" who="&quot;David S. Miller&quot; " />
<person posts="2" size="5" who="David Weeks " />
<person posts="2" size="5" who="Bernd Eckenfels " />
<person posts="2" size="5" who="Christer Weinigel " />
<person posts="2" size="5" who="Richard Henderson " />
<person posts="2" size="5" who="anton wilson " />
<person posts="2" size="4" who="David Woodhouse " />
<person posts="2" size="4" who="&quot;David D. Hagood&quot; " />
<person posts="2" size="4" who="James Gale " />
<person posts="2" size="4" who="Jeff Dike " />
<person posts="2" size="4" who="Greg KH " />
<person posts="1" size="65" who="Martin Dalecki " />
<person posts="1" size="59" who="Mike Insch " />
<person posts="1" size="41" who="Ken Witherow " />
<person posts="1" size="35" who="" />
<person posts="1" size="25" who="Dave Hansen " />
<person posts="1" size="19" who="Nico Schottelius " />
<person posts="1" size="19" who="Pawel Kot " />
<person posts="1" size="16" who="Crutcher Dunnavant " />
<person posts="1" size="13" who="Ishikawa " />
<person posts="1" size="12" who="Nick Urbanik " />
<person posts="1" size="11" who="Witek Krecicki " />
<person posts="1" size="11" who="&quot;Guillaume Boissiere&quot; " />
<person posts="1" size="10" who="Mark Cooke " />
<person posts="1" size="9" who="&quot;Oliver Pitzeier&quot; " />
<person posts="1" size="8" who="Linus Torvalds " />
<person posts="1" size="7" who="Frank van de Pol " />
<person posts="1" size="6" who="Lightweight patch manager " />
<person posts="1" size="5" who="&quot;Guillermo S. Romero&quot; " />
<person posts="1" size="5" who="Daniel Nofftz " />
<person posts="1" size="5" who="&quot;Fuller, Rob&quot; " />
<person posts="1" size="5" who="&quot;louie miranda&quot; " />
<person posts="1" size="5" who="Felipe Contreras " />
<person posts="1" size="5" who="Chaoyang Deng " />
<person posts="1" size="5" who="Pavel Machek " />
<person posts="1" size="4" who="Burton Windle " />
<person posts="1" size="4" who="Frank Davis " />
<person posts="1" size="4" who="German Gomez Garcia " />
<person posts="1" size="4" who="Darryl Harvey " />
<person posts="1" size="4" who="Kurt Roeckx " />
<person posts="1" size="4" who="" />
<person posts="1" size="4" who="&lt;&gt;" />
<person posts="1" size="4" who="&quot;Gross, Mark&quot; " />
<person posts="1" size="4" who="&quot;Mr.Ezra  Koffi&quot; " />
<person posts="1" size="4" who="Terje Eggestad " />
<person posts="1" size="4" who="&quot;louie miranda&quot; " />
<person posts="1" size="4" who="Wayne Whitney " />
<person posts="1" size="4" who="&quot;Denis M. Yarkovoy&quot; " />
<person posts="1" size="4" who="Kristian Peters " />
<person posts="1" size="4" who="&quot;Stephen Lee&quot; " />
<person posts="1" size="4" who="Kurt Garloff " />
<person posts="1" size="4" who="" />
<person posts="1" size="4" who="&quot;Brett Simpson&quot; " />
<person posts="1" size="4" who="Jan Hudec " />
<person posts="1" size="3" who="Pavel Roskin " />
<person posts="1" size="3" who="&quot;Kerl, John&quot; " />
<person posts="1" size="3" who="Tobias Diedrich " />
<person posts="1" size="3" who=" (David Wagner)" />
<person posts="1" size="3" who="Stanislav Brabec " />
<person posts="1" size="3" who="Eduard Bloch " />
<person posts="1" size="3" who="&quot;Mike Black&quot; " />
<person posts="1" size="3" who="Roman Zippel " />
<person posts="1" size="3" who="Perry The Cynic " />
<person posts="1" size="3" who="Andi Kleen " />
<person posts="1" size="3" who="Alex Riesen " />
<person posts="1" size="3" who="&quot;MRS MARIAM ABACHA&quot; " />
<person posts="1" size="3" who="&quot;Stephane Charette&quot; " />
<person posts="1" size="3" who="lezong " />
<person posts="1" size="3" who="Paul Mackerras " />
<person posts="1" size="3" who="" />
<person posts="1" size="3" who="Ingo Oeser " />
<person posts="1" size="3" who="Andreas Schwab " />
<person posts="1" size="3" who="Lionel Bouton " />
<person posts="1" size="3" who="" />
<person posts="1" size="3" who="Rob Landley " />
<person posts="1" size="3" who="Daniel Phillips " />
<person posts="1" size="3" who=" (Steven Seeger)" />
<person posts="1" size="3" who="Ben Greear " />
<person posts="1" size="3" who="&quot;John Shriver&quot; " />
<person posts="1" size="3" who="Mitch Adair " />
<person posts="1" size="3" who="Vojtech Pavlik " />
<person posts="1" size="3" who="John Alvord " />
<person posts="1" size="3" who="Kees Bakker " />
<person posts="1" size="3" who="" />
<person posts="1" size="3" who="&quot;Stephane Charette&quot; " />
<person posts="1" size="3" who="Stelian Pop " />
<person posts="1" size="3" who="Doug Ledford " />
<person posts="1" size="3" who="&quot;Arnvid Karstad&quot; " />
<person posts="1" size="3" who="&quot;Memon, Mazhar I&quot; " />
<person posts="1" size="3" who="Marcus Alanen " />
<person posts="1" size="3" who="Jamie Lokier " />
<person posts="1" size="3" who="Gerhard Mack " />
<person posts="1" size="3" who="Helge Hafting " />
<person posts="1" size="3" who="Nicolas Bougues " />
<person posts="1" size="3" who="&quot;Petr Vandrovec&quot; " />
<person posts="1" size="3" who="Daniel Gryniewicz " />
<person posts="1" size="3" who="Hirokazu Takahashi " />
<person posts="1" size="3" who="James Bottomley " />
<person posts="1" size="3" who="Karim Yaghmour " />
<person posts="1" size="3" who="" />
<person posts="1" size="3" who="" />
<person posts="1" size="3" who="Christian Robert " />
<person posts="1" size="3" who="Bill Hartner " />
<person posts="1" size="2" who="Rik van Riel " />
<person posts="1" size="2" who="Simon Kirby " />
<person posts="1" size="2" who="Neil Brown " />
<person posts="1" size="2" who="Albert Cranford " />
<person posts="1" size="2" who="" />
<person posts="1" size="2" who="Martin Josefsson " />
<person posts="1" size="2" who="&quot;Amrith Kumar&quot; " />
<person posts="1" size="2" who="&quot;Michael Kerrisk&quot; " />
<person posts="1" size="2" who="&quot;Uwe Ziegler&quot; " />
<person posts="1" size="2" who="Robin Farine " />
<person posts="1" size="2" who="Sean Neakums " />
<person posts="1" size="2" who="Kent Sandvik " />
<person posts="1" size="2" who="Alasdair Kergon " />
<person posts="1" size="2" who="Madhavi " />
<person posts="1" size="2" who="&quot;William Brent&quot; " />
<person posts="1" size="2" who="Christopher Swingley " />
<person posts="1" size="2" who="Fabio Massimo Di Nitto " />
<person posts="1" size="2" who="Chris Adams " />
<person posts="1" size="2" who="Jason Alexander " />
<person posts="1" size="2" who="Martin Knoblauch " />
<person posts="1" size="2" who="&quot;Pedro M. Rodrigues&quot; " />
<person posts="1" size="2" who="Jordan Breeding " />
<person posts="1" size="2" who="Michael S. Zick " />
<person posts="1" size="2" who="Disconnect " />
<person posts="1" size="2" who="Lech Szychowski " />
<person posts="1" size="2" who="dean gaudet " />
<person posts="1" size="2" who="Michal Semler " />
<person posts="1" size="2" who="" />
<person posts="1" size="2" who=" (Eric Weiss)" />
<person posts="1" size="2" who="Mark Hounschell " />
<person posts="1" size="2" who="&quot;Albert D. Cahalan&quot; " />
<person posts="1" size="2" who="Brian Gerst " />
<person posts="1" size="2" who="Teodor Iacob " />
<person posts="1" size="2" who="Martin Schwidefsky " />
<person posts="1" size="2" who="Tim Hockin " />
<person posts="1" size="2" who="Arnd Bergmann " />
<person posts="1" size="2" who="Stephen Rothwell " />
<person posts="1" size="2" who="Pradeep Padala " />
<person posts="1" size="2" who="" />
<person posts="1" size="2" who="Russell King " />
<person posts="1" size="2" who="&quot;Calin A. Culianu&quot; " />
<person posts="1" size="2" who="Chris Wright " />
<person posts="1" size="2" who="Tommi Kyntola " />
<person posts="1" size="2" who="Bruce Harada " />
<person posts="1" size="2" who="=?iso-8859-2?Q?Witek_Kr=EAcicki?= " />
<person posts="1" size="2" who="Rolf Fokkens " />
<person posts="1" size="2" who="David Ford " />
<person posts="1" size="2" who="Carsten Rietzschel " />
<person posts="1" size="2" who="Rudmer van Dijk " />
<person posts="1" size="2" who="DevilKin " />
<person posts="1" size="2" who="Hubert Mantel " />
<person posts="1" size="2" who="Richard Zidlicky " />
<person posts="1" size="2" who="Liakakis Kostas " />
<person posts="1" size="2" who="tchiwam " />
<person posts="1" size="2" who="" />
<person posts="1" size="2" who="" />
<person posts="1" size="2" who="Zach Brown " />
<person posts="1" size="2" who="&quot;James Stevenson&quot; " />
<person posts="1" size="2" who="Dag Nygren " />
<person posts="1" size="2" who="Felipe W Damasio " />
<person posts="1" size="2" who="Zoltan Menyhart " />
<person posts="1" size="2" who="&quot;Mohamed Ghouse , Gurgaon&quot; " />
<person posts="1" size="2" who="Zwane Mwaikambo " />
<person posts="1" size="2" who="Alexey Kuznetsov " />
<person posts="1" size="2" who="Yaroslav Popovitch " />
<person posts="1" size="2" who="David T Roth " />
<person posts="1" size="2" who="&quot;Anthony Spinillo&quot; " />
<person posts="1" size="2" who="&quot;Vinolin&quot; " />
<person posts="1" size="2" who="Drew Myers " />
<person posts="1" size="2" who="David Schwartz " />
<person posts="1" size="2" who="=?iso-8859-1?q?Joerg=20Pommnitz?= " />
<person posts="1" size="2" who="&quot;Justin T. Gibbs&quot; " />
<person posts="1" size="2" who="Lars Duesing " />
<person posts="1" size="2" who="Oleg Drokin " />
<person posts="1" size="2" who="srinivasa k " />
<person posts="1" size="1" who="Miles Lane " />
<person posts="1" size="1" who=" (Jonathan Corbet)" />
<person posts="1" size="1" who="Daniel McKee " />
<person posts="1" size="1" who="&quot;Javier A Toledano&quot; " />
<person posts="1" size="1" who="Andreani Luca " />
<person posts="1" size="1" who="&quot;jusy&quot; " />
<person posts="1" size="1" who="" />

</stats>

<section
  title="gettimeofday() Shows Time Going Backwards"
  subject="gettimeofday problem"
  archive="http://www.uwsg.indiana.edu/hypermail/linux/kernel/0206.3/0023.html"
  posts="22"
  startdate="24 Jun 2002 00:55:31 -0800"
  enddate="30 Jun 2002 18:30:51 -0800"
>
<topic>Debugging</topic>
<topic>SMP</topic>

<mention>Matti Aarnio</mention>

<p>Salvatore D'Angelo noticed that calling gettimeofday() twice in sequence in
2.4.18 seemed to show time going backwards. The second result was not necessarily
larger than the first. He posted some code to reproduce the behavior and said it
manifested itself about 10% of the time. Matti Aarnio gave it a try, and
confirmed the problem, but reported only a single case in about 216 million
iterations. Salvatore admitted that his estimate of 10% was probably too high.
He ran his test again and came up with approximately .01% reproducibility. At
this point Karim Yaghmour said:</p>

<quote who="Karim Yaghmour">

<p>This has already been discussed on the LKML. Here's the thread: <a
href="http://marc.theaimsgroup.com/?t=102348161100006&amp;r=1&amp;w=2">http://marc.theaimsgroup.com/?t=102348161100006&amp;r=1&amp;w=2</a></p>

<p>I posted the following message on this issue: <a
href="http://marc.theaimsgroup.com/?l=linux-kernel&amp;m=102348249521519&amp;w=2">http://marc.theaimsgroup.com/?l=linux-kernel&amp;m=102348249521519&amp;w=2</a></p>

<p>As I had said earlier, I've seen this happen before on both i386 and
PPC machines.</p>

</quote>

<p>Elsewhere, Richard B. Johnson was unable to reproduce the problem using
his own test program, but Frank van de Pol used the same program and did find
several occurrences. He speculated, <quote who="Frank van de Pol">Possibly it
might have to do with the fact that my machine is an SMP box (dual pentium
II)</quote> Richard replied, <quote who="Richard B. Johnson">Well, I have a
dual Pentium also, but I didn't mix two different CPUs as you have done. I'm
supprised that your combination even works!  It could be a good 'checker'
for hard-to-make race conditions.</quote> Chris Friesen also said:</p>

<quote who="Chris Friesen">

<p>Using that code, I can reliably trigger the fault on 2.2.17 on a G4 desktop,
while it doesn't trigger on 2.4.18 on a G4 cPCI blade.</p>

<p>I saw this a long time back (a year or two) on 2.2 but never really tracked
it down properly as it wasn't a showstopper and I had other things to do at
the time.</p>

</quote>

<p>And Gabriel Paubert added:</p>

<quote who="Gabriel Paubert">

<p>Given the fact that the relevant code has been almost completely rewritten
for 2.4 (I'm the culprit), this is not surprising.</p>

<p>The rewrite was mostly to make the code more robust in case of missed ticks:
all PPC are now guaranteed to withstand at least (HZ-1) lost clock interrupts
before things go awfully wrong (this was very useful when the frame buffer
drivers blocked interrupts for too long during screen switching). There are
also several other less visible bug fixes: when connected to an NTP server,
in some cases the timebase frequency appeared to vary depending on system load
(fixed by a different algorithm to compute values to load into the decrementer)
and other bogosities.</p>

<p>Now if you are able to trigger a problem with 2.4. I'm extremely
interested.</p>

</quote>

</section>

<section
  title="Status Of Filesystem Capabilities"
  subject="Status of capabilities?"
  archive="http://www.uwsg.indiana.edu/hypermail/linux/kernel/0206.3/0300.html"
  posts="6"
  startdate="26 Jun 2002 04:40:45 -0800"
  enddate="28 Jun 2002 05:20:13 -0800"
>
<topic>Capabilities</topic>
<topic>Extended Attributes</topic>
<topic>FS</topic>

<p>Michael Kerrisk asked how filesystem capabilities were doing in the
2.4 and kernel. He knew there had been at least partial support since 2.2,
and wondered if any further work had been done. Dax Kelson replied:</p>

<quote who="Dax Kelson">

<p>The 2.5 VFS supports Extended Attributes (since 2.5.3). I think the plan
was use EAs to store capabilities. So I believe that the infrastructure is
in place, someone with the proper skills just needs to:</p>

<p>

<ol>

<li>Define how capabilities will be stored as a EA</li>

<li>Teach fs/exec.c to use the capabilities stored with the file</li>

<li>Write lscap(1)</li>

<li>Write chcap(1)</li>

<li>Audit/fix all SUID root binaries to use capabilities</li>

<li>Set appropriate capabilities with for each with chcap(1) and then:<br />
# find / -type f -perm -4000 -user root -exec chmod u-s {} \;</li>

<li>Party and snicker in the general direction of that OS with the slogan
"One remote hole in the default install, in nearly 6 years!"</li>

</ol>

</p>

</quote>

<p>But Jesse Pollard gave <a href="http://lsm.immunix.org/">a link</a>
and said, <quote who="Jesse Pollard">Actually, I think most of that work
has already been done by the Linux Security Module project (well, except
#7).</quote> Chris Wright clarified, <quote who="Chris Wright">The LSM project
supports capabilities exactly as it appears in the kernel right now.  The EA
linkage is still missing. Of course, we are accepting patches ;-)</quote>
And Jesse came back with, <quote who="Jesse Pollard">Absolutely - I was
just meaning that the effort of identifing the location(s) in the kernel the
hooks will have to be to set the capabilities from the EA reference has been
done. And in a central location too. Also, the hooks in the filesystem will
provide the location, if not access to, the EA when they become available
in/to the VFS (at least I hope that's where they end up).</quote></p>

</section>

<section
  title="#kernelnewbies Moves To A Different IRC Network"
  subject="#kernelnewbies moves"
  archive="http://www.uwsg.indiana.edu/hypermail/linux/kernel/0206.3/0363.html"
  posts="7"
  startdate="26 Jun 2002 14:24:04 -0800"
  enddate="28 Jun 2002 10:32:38 -0800"
>
<topic>IRC</topic>

<p>Rik van Riel announced:</p>

<quote who="Rik van Riel">

<p>due to a possible incompatibility between one of the OPN admins
soliciting money on a regular basis and the policies of the network where
kernelnewbies.org is hosted we have decided to move the #kernelnewbies IRC
channel to another network.</p>

<p>You will be able to find us on:</p>

<p>        irc.oftc.net / #kernelnewbies</p>

<p>Kernelnewbies is a project meant to help people learn about operating
system development by providing information and operating a mailing
list and IRC channel where current and future developers can help
each other. More information about kernelnewbies can be found on <a
href="http://kernelnewbies.org/">http://kernelnewbies.org/</a></p>

</quote>

<p>Andrew Rodland said:</p>

<quote who="Andrew Rodland">

<p>You realize that if you weren't _forcing_ people not to go to the channel
on OPN, by making it useless, everyone would go there anyway.</p>

<p>Why?</p>

<p>Because a #kn that isn't on OPN is no #kn at all. </p>

<p>I hope the other one dies a slow, painful death, for the good of
everyone.</p>

</quote>

<p>Stephen Frost thought this was a very silly attitude, saying, <quote
who="Stephen Frost">That's silly and if #kn had to be on OPN then it
wouldn't exist due to the policies as riel pointed out.</quote> As far as
forcing people not to use the channel at Openprojects Network, he added,
<quote who="Stephen Frost">Uh, I believe you have the OPN ircops to thank
for making it +m.  I know that it was done by Chanserv directly after riel
had left.</quote> An anonymous person pointed out that Rik would have had to
set the channel himself before leaving. If Chanserv had done it, the channel
would not let anyone else in. Stephen replied, <quote who="Stephen Frost">The
irc ops could do either, of course.  I find it very likely that it was done
by lilo</quote> [<a href="http://advogato.org/person/lilo/">Rob Levin</a>]
<quote who="Stephen Frost">after I mentioned that the channel had moved on a
channel he was on.</quote> Stephen added, <quote who="Stephen Frost">As far as
I could tell, riel had already left the network at that point.  Additionally,
if you /m chanserv info #kernelnewbies you will see that the 'Mode Lock'
is only +s and that +m is *not* there.</quote> Gerhard Mack replied:</p>

<quote who="Gerhard Mack">

<p>Not correct.. lilo was actually supprised when he found out it was
moderated.</p>

<p>You should have asked lilo directly instead of spreading misinformation.</p>

<p>Anyhow one of the other chanops seems to have removed the +m and the
channel is functional again.</p>

</quote>

<p>Stephen replied, <quote who="Stephen Frost">It wasn't misinformation,
it's what I felt likely, and still do, honestly.</quote></p>

</section>

<section
  title="Status Of Write Barrier Support For 2.4 And 2.5"
  subject="Status of write barrier support for 2.4?"
  archive="http://www.uwsg.indiana.edu/hypermail/linux/kernel/0206.3/0396.html"
  posts="7"
  startdate="27 Jun 2002 02:45:34 -0800"
  enddate="28 Jun 2002 15:59:19 -0800"
>
<topic>Disks: IDE</topic>
<topic>Disks: SCSI</topic>

<mention>Matthias Andree</mention>

<p>Matthias Andree asked about the status of write barrier support, and
asked if there were a web page somewhere that tracked documentation and
new patches. Jens Axboe said he didn't know of any such web page, but he
summarized, <quote who="Jens Axboe">We have stable support for IDE (ie block
layer barrier support works, IDE implementation works). I doubt we'll ever
do 2.4 SCSI support, it would be too invasive to really make it safe.</quote>
Matthias shook his head sadly, saying he needed the SCSI support. He thought
aloud, that he'd probably have to start using 2.5 on his system in the
near future.</p>

</section>

<section
  title="Opcode Emulator For Incompatible Processors"
  subject="[ANNOUNCE] CMOV emulation for 2.4.19-rc1"
  archive="http://www.uwsg.indiana.edu/hypermail/linux/kernel/0206.3/0631.html"
  posts="14"
  startdate="29 Jun 2002 20:39:50 -0800"
  enddate="02 Jul 2002 16:36:36 -0800"
>
<topic>Assembly</topic>

<mention>Denis Vlasenko</mention>

<p>Willy Tarreau announced:</p>

<quote who="Willy Tarreau">

<p>OK, I know that many people dislike this, but I know others who occasionally
need it anyway. So I don't post it for general inclusion, but for interested
people.</p>

<p>What is it ? it's a software emulator for x86 opcodes not handled by the
processor. Emulations available are :  </p>

<p>

<ul>

<li>BSWAP, CMPXCHG, XADD on 386 (486 instructions)</li>

<li>CMOV on any x86 processor (pentium-pro instructions)</li>

</ul>

</p>

<p>It is not meant to replace a correct compilation, but it may have happened
to all of us to try to rescue a damaged system or with a boot disk, and
copying some programs with a floppy, and then get an 'Illegal instruction'
because these programs have been compiled with a badly configured compiler. I
once had a gcc which did i686 by default, and I had a hard time trying to
execute an e2fsck it had compiled, on my k6 notebook !</p>

<p>Same if you take a disk from a system, and try to boot it on another
one. Well, I won't spend more time finding examples.</p>

<p>I've been using the 486 emulation on my 386 firewall for a few years now,
and have been quite happy with it. I cleaned the code a bit and added support
for cmov. All this will grow your bzImage with less than 1kB.</p>

<p>As I stated above, it is *NOT* meant to replace a recompilation for the
correct target. Emulation is quite slow because of the time the CPU spends
processing the trap. I measured about 450 cycles for a cmov, which is quite a
overhead, but still acceptable for occasionnal purposes (1us on my k6/450).</p>

<p>I was thinking about adding some statistics informations, such as the
number of traps caught, globally and by process, but finally realized that
this was only bloat for something that should not be used permanently.</p>

<p>I didn't have the time to try VMWare on top of this. It could be interesting
to be able to provide CMOV or other instructions to guest systems.</p>

</quote>

<p>Denis Vlasenko noticed some performance-critical areas of the code that
were not optimized as far as they could be, and posted some patches to
speed them up.  Willy looked over Denis' modifications, and pointed out
some objections. He added that he had been coding for correctness rather
than speed, and that if speed were really an issue, he'd want to translate
most of the code into assembler. Bill Davidsen replied, <quote who="Bill
Davidsen">This sounds good, the idea is that it should work at all, clarity
is good, I can't imagine anyone running this long term instead of building
a compile with the right machine type.</quote> Denis felt the speed issue
could become serious, and might give casual users the impression that Linux
was slow. They discussed various ways to profile the code or at least warn
when a slowdown could be expected; and the thread petered out.</p>

</section>

<section
  title="Ongoing BKL Removal"
  subject="[PATCH] Shift BKL into -&gt;statfs()"
  archive="http://www.uwsg.indiana.edu/hypermail/linux/kernel/0207.0/0281.html"
  posts="9"
  startdate="02 Jul 2002 17:25:47 -0800"
  enddate="03 Jul 2002 04:28:48 -0800"
>
<topic>FS: UMSDOS</topic>
<topic>FS: ext2</topic>
<topic>Locking</topic>

<mention>Matthew Wilcox</mention>

<p>Paul Menage said, <quote who="Paul Menage">This patch removes BKL protection
from the invocation of the super_operations -&gt;statfs() method, and shifts
it into the filesystems where necessary. Any out-of-tree filesystems may
need to take the BKL in their statfs() methods if they were relying on it
for synchronisation.</quote> He added, <quote who="Paul Menage">All modified
filesystems have been compiled except for the disabled umsdos; only ext2 and
shmfs have actually been tested.</quote> Matthew Wilcox suggested there were
even more Big Kernel Lock usages that could be removed, and Paul replied,
<quote who="Paul Menage">I'm sure the BKL can be ripped out further, but
I preferred not to risk breakage in this patch due to unfamiliarity with
the locking rules for particular filesystems - I just left the BKL out of
those that were clearly not touching mutable data. Patches that shrink the
BKL usage for individual filesystems can be sent (hopefully with copious
justifications) once this or something like it is applied.</quote> But later on
and in a different subthread, he posted an expanded patch to remove the BKL from
yet more areas of code. Various folks posted more suggestions of areas of
filesystem code that could do without the BKL.</p>

</section>

</kc>

