Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Sergey Lentsov                       2:4615/71.10   18 Feb 2002  13:16:42
 To : All
 Subject : URL: http://www.lwn.net/2002/0214/kernel.php3
 -------------------------------------------------------------------------------- 
 
    [1][LWN Logo] [No ads right now]
    [LWN.net]
 
    Sections:
     [2]Main page
     [3]Security
     Kernel
     [4]Distributions
     [5]Development
     [6]Commerce
     [7]Linux in the news
     [8]Announcements
     [9]Letters
    [10]All in one big page
 
    See also: [11]last week's Kernel page.
 
 Kernel development
 
    The current development kernel release is 2.5.4, which was
    [12]released on February 11. The biggest news, of course, is the
    inclusion of the preemptible kernel patch. This release also has the
    delightful feature that it fails to compile for many users. There have
    been no 2.5.5 prepatches as of this writing.
 
    Update: [13]2.5.5-pre1 was released just as this page was going to
    "press." It includes the ALSA sound system (see below), the new input
    driver scheme, the X86-64 merge, and a bunch of other stuff.
 
    Dave Jones's latest prepatch is [14]2.5.4-dj1, which adds a number of
    fixes to the 2.5.4 release. This one should compile for most people.
 
    Guillaume Boissiere's [15]2.5 status summary has been updated for
    2.5.4.
 
    The current stable kernel release is still 2.4.17. The [16]first
    2.4.18 release candidate was released on February 13; if all goes well
    it will become the next stable release.
 
    Alan Cox's latest is [17]2.4.18-pre9-ac3; it adds the latest reverse
    mapping virtual memory patch, an updated DRM implementation, and a
    number of fixes.
 
    Those who prefer a development-oriented 2.4 kernel can see
    [18]2.4.18-pre8-mjc from Michael Cohen. It adds the reverse mapping
    VM, the preemptible kernel patch, the new 2.5 scheduler, User-mode
    Linux, and many other things.
 
    The preemptible kernel patch was merged into 2.5.4-pre6, thus ending,
    by fiat, a long debate on whether it was a good idea or not. This
    patch was discussed in detail [19]almost a year ago on this page; it
    has evolved since then, but the basic idea remains the same.
 
    There is still some nervousness about this patch. Anything that
    changes one of the basic assumptions of the kernel programming
    environment (that kernel code runs to completion unless it explicitly
    yields the processor) does need to be looked at carefully. The fact
    that kernel code will not be preempted when it holds a spinlock
    reduces the problem to something similar to the SMP situation - but
    not quite.
 
    In particular, there is an increasing amount of processor-specific
    data used by the kernel. Limiting access to a specific data structure
    to a single processor brings some significant performance benefits -
    that data stays in a single processor's cache. It was also possible,
    until now, to work with single-processor data without locking; since
    no other processor will try to access that data, there is no need to
    lock the other processors out. If kernel code is preemptible, however,
    processor-specific data is no longer safe; other measures must be
    taken.
 
    The preemptible kernel patch has been well tested over the better part
    of a year, and the obvious glitches have been worked out. Even so,
    chances are that a surprise or two remain - though there have been few
    complaints so far. Preemption makes the kernel more responsive, and is
    worth having. But it is a good patch to have integrated early in the
    2.5 cycle.
 
    Here comes ALSA. Jaroslav Kysela [20]announced the availability of an
    Advanced Linux Sound Architecture patch for the 2.5.4 kernel. The
    announcement showed a certain degree of frustration - apparently Linus
    had not been answering mail from the ALSA maintainers, and they were
    not sure what the situation was.
 
    Things have since settled out. Here's [21]the word from Linus:
 
      My main reason for being silent on it has been that I've been doing
      other things. I'll be merging ALSA in the not too distant future,
      but it's not been a high priority for me like some of the other
      stuff I have spent my time on..
 
    And that, of course, is what happened; ALSA is in the first 2.5.5
    prepatch.
 
    ALSA will not immediately amaze Linux users with lots of new
    capabilities. For the most part, the only thing people should notice
    in the short term is that sound on their systems works as always. What
    ALSA brings is a new and more coherent design, a nice kernel API
    (which is normally hidden behind the well-defined [22]library API),
    support for professional hardware, and better MIDI sequencing and
    routing support. A thorough emulation layer ensures that old OSS sound
    applications will work as always, but [23]quite a few applications
    also support the ALSA native API.
 
    In the longer term, the combination of ALSA and the low-latency work
    should help ensure that Linux is capable of handling the most
    demanding audio tasks.
 
    How synchronous should sync be? Andrew Morton has posted [24]a patch
    fixing a perceived problem with the sync() system call: as long as
    processes keep generating data, sync() will keep flushing it to disk.
    The result is that a sync command can take a long time to execute - as
    in several minutes. Andrew's patch changes sync() to just ensure that
    all data to be written when the call is made gets out - buffers
    generated thereafter may not be written immediately.
 
    This patch, of course, changes a fundamental assumption made by many
    who use sync - that, upon completion, all data has been written to
    disk. In fact, according to [25]the Single Unix Standard, this
    behavior is permissible: "The writing, although scheduled, is not
    necessarily complete upon return from sync()" It is, regardless, not
    the behavior that many expect.
 
    There's no real consensus on what the proper behavior is. Unless Linus
    takes the patch, the current sync behavior will remain.
 
    Other patches and updates released this week include:
 
    Core kernel code:
      * Christoph Hellwig has [26]posted a new version of his kthread
        interface, which attempts to rationalize the creation and
        management of kernel threads.
      * Here's [27]the latest version of Rusty Russell's patch
        implementing easy per-CPU data areas.
      * Rik van Riel has released [28]version 12e of his reverse-mapping
        virtual memory patch.
      * The [29]2.5.4 Linux security module patch is available.
 
    Development tools:
      * [30]version 20020207 of the Linux Test Project test suite has been
        released.
      * [31]A new version of the patch enabling the gcov test coverage
        tool to be used with the kernel has been posted by Hubertus
        Franke.
 
    Device drivers
      * A new [32]driverfs for USB patch has been posted by Greg
        Kroah-Hartman. "It differs from my previous patches, in that this
        one works well."
      * Jens Axboe has posted [33]a patch implementing queue barriers in
        the block I/O layer. Barriers allow higher level code (such as a
        journaling filesystem) to require that all data queued before the
        barrier is written to disk before any data after the barrier. A
        2.4 version of this patch was [34]posted by Chris Mason.
 
    Filesystems:
      * The University of Michigan has [35]announced the first release of
        its NFSv4 implementation. This patch still has some rough edges,
        and only works with the 2.4.4 kernel (yes, 2.4.4 - a 2.5 port is
        in the works).
      * Andrew Morton has posted [36]a patch implementing the "dirsync"
        option on the ext2 and ext3 filesystems.
      * Neil Brown has posted [37]his linux.conf.au paper on the future of
        authentication in the kernel NFS daemon.
 
    Kernel building:
      * Anuradha Ratnaweera has [38]announced the release of kernelconf
        0.1.3. See [39]this followup note if you would like to know where
        to actually get the code.
 
    Miscellaneous:
      * Denis Vlasenko has posted [40]a new list of kernel maintainers.
      * [41]Zeta 0.1 has been released by Thomas Capricelli. Zeta is a
        port of Linux to a virtual platform, done as an exercise in
        learning the internals of the system.
      * James Bottomley has [42]released a new version of his port to the
        NCR Voyager architecture.
      * [43]Kernel Traffic for February 11 is available.
 
    Section Editor: [44]Jonathan Corbet
    February 14, 2002
 
    For other kernel news, see:
      * [45]Kernel traffic
      * [46]Kernel Newsflash
      * [47]Kernel Trap
      * [48]Linux 2.5.x Porting help
      * [49]2.5 Status
    
    Other resources:
      * [50]Kernel Source Reference
      * [51]L-K mailing list FAQ
      * [52]Linux-MM
      * [53]Linux Scalability Effort
      * [54]Kernel Newbies
      * [55]Linux Device Drivers
    
    
 
                                                   [56]Next: Distributions
 
    [57]Eklektix, Inc. Linux powered! Copyright Л 2002 [58]Eklektix, Inc.,
    all rights reserved
    Linux (R) is a registered trademark of Linus Torvalds
 
 References
 
    1. http://lwn.net/
    2. http://lwn.net/2002/0214/
    3. http://lwn.net/2002/0214/security.php3
    4. http://lwn.net/2002/0214/dists.php3
    5. http://lwn.net/2002/0214/devel.php3
    6. http://lwn.net/2002/0214/commerce.php3
    7. http://lwn.net/2002/0214/press.php3
    8. http://lwn.net/2002/0214/announce.php3
    9. http://lwn.net/2002/0214/letters.php3
   10. http://lwn.net/2002/0214/bigpage.php3
   11. http://lwn.net/2002/0207/kernel.php3
   12. http://lwn.net/2002/0214/a/2.5.4.php3
   13. http://lwn.net/2002/0214/a/2.5.5-pre1.php3
   14. http://lwn.net/2002/0214/a/2.5.4-dj1.php3
   15. http://lwn.net/2002/0214/a/2.5-status.php3
   16. http://lwn.net/2002/0214/a/2.4.18-rc1.php3
   17. http://lwn.net/2002/0214/a/2.4.18-pre9-ac3.php3
   18. http://lwn.net/2002/0214/a/2.4.18-pre8-mjc.php3
   19. http://lwn.net/2001/0315/kernel.php3
   20. http://lwn.net/2002/0214/a/alsa.php3
   21. http://lwn.net/2002/0214/a/lt-alsa.php3
   22. http://www.alsa-project.org/alsa-doc/alsa-lib/
   23. http://www.alsa-project.org/applications.php3
   24. http://lwn.net/2002/0214/a/sync-patch.php3
   25. http://www.opengroup.org/onlinepubs/007908799/xsh/sync.html
   26. http://lwn.net/2002/0214/a/kthread.php3
   27. http://lwn.net/2002/0214/a/per-cpu.php3
   28. http://lwn.net/2002/0214/a/rmap.php3
   29. http://lwn.net/2002/0214/a/lsm.php3
   30. http://lwn.net/2002/0214/a/ltp.php3
   31. http://lwn.net/2002/0214/a/gcov.php3
   32. http://lwn.net/2002/0214/a/usb-driverfs.php3
   33. http://lwn.net/2002/0214/a/queue-barrier.php3
   34. http://lwn.net/2002/0214/a/queue-barrier-2.4.php3
   35. http://lwn.net/2002/0214/a/nfsv4.php3
   36. http://lwn.net/2002/0214/a/dirsync.php3
   37. http://www.cse.unsw.edu.au/~neilb/conf/lca2002/
   38. http://lwn.net/2002/0214/a/kernelconf.php3
   39. http://lwn.net/2002/0214/a/kernelconf2.php3
   40. http://lwn.net/2002/0214/a/maintainers.php3
   41. http://lwn.net/2002/0214/a/linux-zeta.php3
   42. http://lwn.net/2002/0214/a/voyager.php3
   43. http://kt.zork.net/kernel-traffic/kt20020211_153.html
   44. mailto:lwn@lwn.net
   45. http://kt.zork.net/
   46. http://www.atnf.csiro.au/~rgooch/linux/docs/kernel-newsflash.html
   47. http://www.kerneltrap.com/
   48. http://www.osdl.org/archive/rddunlap/linux-port-25x.html
   49. http://kernelnewbies.org/status/
   50. http://lksr.org/
   51. http://www.tux.org/lkml/
   52. http://www.linux.eu.org/Linux-MM/
   53. http://lse.sourceforge.net/
   54. http://www.kernelnewbies.org/
   55. http://www.xml.com/ldd/chapter/book/index.html
   56. http://lwn.net/2002/0214/dists.php3
   57. http://www.eklektix.com/
   58. http://www.eklektix.com/
 
 --- ifmail v.2.14.os7-aks1
  * Origin: Unknown (2:4615/71.10@fidonet)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 URL: http://www.lwn.net/2002/0214/kernel.php3   Sergey Lentsov   18 Feb 2002 13:16:42 
Архивное /ru.linux/19861f18ff39d.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional