An error occurred fetching the project authors.
  1. 15 Jan, 2003 1 commit
  2. 08 Jan, 2003 1 commit
    • Patrick Mochel's avatar
      network devices: make sure kobjects always get unregistered. · 6ac4a2a4
      Patrick Mochel authored
      Third time's a charm..
      
      This moves the kobject_unregister() call to after the out: label, making 
      sure it always gets unregistered. It wasn't if
      
      	if (dev->features & NETIF_F_DYNALLOC)
      
      was true (which it is for PPP devices), causing re-registration of devices
      to fail. 
      6ac4a2a4
  3. 07 Jan, 2003 1 commit
  4. 06 Jan, 2003 2 commits
    • Roland Dreier's avatar
      [NET]: Increase MAX_ADDR_LEN. · 4f85bc95
      Roland Dreier authored
      - Add ARPHRD_INFINIBAND
      - Increase MAX_ADDR_LEN to 32 from 8
      - Add suitable length protection to SIOCGIFHWADDR and friends.
      - Add RTM_SETLINK for portably setting larger hw addrs.
      4f85bc95
    • Patrick Mochel's avatar
      net devices: Get network devices to show up in sysfs. · 6ed6b9bf
      Patrick Mochel authored
      - declare net_subsys, and register during net_dev_init().
      - Add kobject to struct net_device.
      - initialize name and register in register_netdevice().
      - remove in unregister_netdevice().
      
      This allows one to see the registered network devices in the system via:
      
      # tree /sys/net/
      /sys/net/
      `-- eth0
      6ed6b9bf
  5. 30 Dec, 2002 1 commit
  6. 29 Dec, 2002 1 commit
  7. 04 Dec, 2002 1 commit
  8. 24 Nov, 2002 3 commits
  9. 18 Nov, 2002 1 commit
    • Rusty Russell's avatar
      [PATCH] kallsyms for new modules · a5508ddc
      Rusty Russell authored
      Since I believe kallsyms is important, this reimplements it sanely,
      using the current module infrastructure, and not using an external
      kallsyms script.
      
      FYI, the previous interface was:
      
      int kallsyms_symbol_to_address(
      	const char       *name,			/* Name to lookup */
      	unsigned long    *token,		/* Which module to start with */
      	const char      **mod_name,		/* Set to module name or "kernel" */
      	unsigned long    *mod_start,		/* Set to start address of module */
      	unsigned long    *mod_end,		/* Set to end address of module */
      	const char      **sec_name,		/* Set to section name */
      	unsigned long    *sec_start,		/* Set to start address of section */
      	unsigned long    *sec_end,		/* Set to end address of section */
      	const char      **sym_name,		/* Set to full symbol name */
      	unsigned long    *sym_start,		/* Set to start address of symbol */
      	unsigned long    *sym_end		/* Set to end address of symbol */
      	);
      
      The new one is:
      /* Lookup an address.  modname is set to NULL if it's in the kernel. */
      const char *kallsyms_lookup(unsigned long addr,
      			    unsigned long *symbolsize,
      			    unsigned long *offset,
      			    char **modname);
      a5508ddc
  10. 06 Nov, 2002 1 commit
  11. 05 Nov, 2002 1 commit
  12. 06 Oct, 2002 1 commit
  13. 04 Oct, 2002 1 commit
  14. 29 Sep, 2002 1 commit
    • Ingo Molnar's avatar
      [PATCH] smptimers, old BH removal, tq-cleanup · dd140c87
      Ingo Molnar authored
      This is the smptimers patch plus the removal of old BHs and a rewrite of
      task-queue handling.
      
      Basically with the removal of TIMER_BH i think the time is right to get
      rid of old BHs forever, and to do a massive cleanup of all related
      fields.  The following five basic 'execution context' abstractions are
      supported by the kernel:
      
        - hardirq
        - softirq
        - tasklet
        - keventd-driven task-queues
        - process contexts
      
      I've done the following cleanups/simplifications to task-queues:
      
       - removed the ability to define your own task-queue, what can be done is
         to schedule_task() a given task to keventd, and to flush all pending
         tasks.
      
      This is actually a quite easy transition, since 90% of all task-queue
      users in the kernel used BH_IMMEDIATE - which is very similar in
      functionality to keventd.
      
      I believe task-queues should not be removed from the kernel altogether.
      It's true that they were written as a candidate replacement for BHs
      originally, but they do make sense in a different way: it's perhaps the
      easiest interface to do deferred processing from IRQ context, in
      performance-uncritical code areas.  They are easier to use than
      tasklets.
      
      code that cares about performance should convert to tasklets - as the
      timer code and the serial subsystem has done already. For extreme
      performance softirqs should be used - the net subsystem does this.
      
      and we can do this for 2.6 - there are only a couple of areas left after
      fixing all the BH_IMMEDIATE places.
      
      i have moved all the taskqueue handling code into kernel/context.c, and
      only kept the basic 'queue a task' definitions in include/linux/tqueue.h.
      I've converted three of the most commonly used BH_IMMEDIATE users:
      tty_io.c, floppy.c and random.c. [random.c might need more thought
      though.]
      
      i've also cleaned up kernel/timer.c over that of the stock smptimers
      patch: privatized the timer-vec definitions (nothing needs it,
      init_timer() used it mistakenly) and cleaned up the code. Plus i've moved
      some code around that does not belong into timer.c, and within timer.c
      i've organized data and functions along functionality and further
      separated the base timer code from the NTP bits.
      
      net_bh_lock: i have removed it, since it would synchronize to nothing. The
      old protocol handlers should still run on UP, and on SMP the kernel prints
      a warning upon use. Alexey, is this approach fine with you?
      
      scalable timers: i've further improved the patch ported to 2.5 by wli and
      Dipankar. There is only one pending issue i can see, the question of
      whether to migrate timers in mod_timer() or not. I'm quite convinced that
      they should be migrated, but i might be wrong. It's a 10 lines change to
      switch between migrating and non-migrating timers, we can do performance
      tests later on. The current, more complex migration code is pretty fast
      and has been stable under extremely high networking loads in the past 2
      years, so we can immediately switch to the simpler variant if someone
      proves it improves performance. (I'd say if non-migrating timers improve
      Apache performance on one of the bigger NUMA boxes then the point is
      proven, no further though will be needed.)
      dd140c87
  15. 16 Sep, 2002 1 commit
  16. 12 Sep, 2002 1 commit
  17. 29 Aug, 2002 1 commit
    • Robert Love's avatar
      [PATCH] misc. kernel preemption bits · 4ca6eaac
      Robert Love authored
      Misc. kernel preemption-related bits.  Specifically,
      
       - update to Documentation/preempt-locking.txt (me)
      
       - preempt-safe arch/i386/kernel/ioport.c :: sys_ioperm()
         (George Anzinger)
      
       - remove "kernel_lock()" cruft in include/linux/smp.h
         (Andrew Morton)
      
       - we have a debug check in preempt_schedule that, even
         on detecting a schedule with irqs disabled, still goes
         ahead and reschedules.  We should return. (me)
      
       - preempt-safe net/core/dev.c :: netif_rx() (George Anzinger)
      4ca6eaac
  18. 22 Jul, 2002 1 commit
  19. 17 Jun, 2002 1 commit
  20. 15 Jun, 2002 1 commit
    • Kai Germaschewski's avatar
      Make net_dev_init() an __initcall · c7165d9a
      Kai Germaschewski authored
      If you were looking to find where net_dev_init() is called, you wouldn't
      have guessed it's in drivers/block/genhd.c, would you?
      
      Nothing should break if the __initcall net_dev_init is called too late
      now, since register_netdevice() will call it for us in that case.
      c7165d9a
  21. 05 Jun, 2002 1 commit
  22. 03 Jun, 2002 1 commit
  23. 28 May, 2002 1 commit
    • Robert Love's avatar
      [PATCH] preempt-safe net/ code · 1bc32826
      Robert Love authored
      This fixes three locations in net/ where per-CPU data could bite us
      under preemption.  This is the result of an audit I did and should
      constitute all of the unsafe code in net/.
      
      In net/core/skbuff.c I did not have to introduce any code - just
      rearrange the grabbing of smp_processor_id() to be in the interrupt off
      region.  Pretty clean fixes.
      
      Note in the future we can use put_cpu() and get_cpu() to grab the CPU#
      safely.  I will send a patch to Marcelo so we can have a 2.4 version
      (which doesn't do the preempt stuff), too...
      1bc32826
  24. 22 May, 2002 1 commit
  25. 21 May, 2002 1 commit
    • Arnaldo Carvalho de Melo's avatar
      net/core/dev.c · f8128c1b
      Arnaldo Carvalho de Melo authored
          - remove spurious spaces and tabs at end of lines
          - make sure if, while, for, switch has a space before the opening '('
          - make sure no line has more than 80 chars
          - move initializations to the declaration line where possible
          - bitwise, logical and arithmetic operators have spaces before and after,
            improving readability of complex expressions
          - remove uneeded () in returns
          - other minor cleanups
      
      Before:
         text    data     bss     dec     hex filename
        15228   12376    2560   30164    75d4 net/core/dev.o
      After:
         text    data     bss     dec     hex filename
        14840   12364    2624   29828    7484 net/core/dev.o
      f8128c1b
  26. 13 Mar, 2002 1 commit
    • David S. Miller's avatar
      Integrate NAPI work done by Jamal Hadi Salim, · abb85ec3
      David S. Miller authored
      Robert Olsson, and Alexey Kuznetsov.  This changeset adds
      the framework and implementation, but drivers need to be
      ported to NAPI in order to take advantage of the new
      facilities.  NAPI is fully backwards compatible, current
      drivers will continue to work as they always have.
      
      NAPI is a way for dealing with high packet load.  It allows
      the driver to disable the RX interrupts on the card and enter
      a polling mode.  Another way to describe NAPI would be as
      implicit mitigation.  Once the device enters this polling
      mode, it will exit back to interrupt based processing when
      the receive packet queue is purged.
      
      A full porting and description document is found at:
      Documentation/networking/NAPI_HOWTO.txt
      and this also makes reference to Usenix papers on the
      web and other such resources available on NAPI.
      
      NAPI has been found to not only increase packet processing
      rates, it also gives greater fairness to the other interfaces
      in the system which are not experiencing high packet load.
      abb85ec3
  27. 06 Mar, 2002 2 commits
  28. 02 Mar, 2002 1 commit
    • Rusty Russell's avatar
      [PATCH] 2.5.6-pre2 III: spelling · b965dc9f
      Rusty Russell authored
      These are all in the 2.4.19-pre2.
      
      "Jahn Veach" <V64@V64.net>: [PATCH 2.5.4] Typo corrections.
      
      Pavel Machek <pavel@ucw.cz>: Whitespace PCI cleanups (fwd).
      
      quinlan@transmeta.com: [PATCH] take COPYING into new century:
      	These mods are directly from the FSF version.
      b965dc9f
  29. 05 Feb, 2002 8 commits
    • Linus Torvalds's avatar
      v2.5.2.3 -> v2.5.2.4 · 9d6ba121
      Linus Torvalds authored
      - Patrick Mochel: initcall levels
      - Patrick Mochel: devicefs updates, add PCI devices into the hierarchy
      - Denis Oliver Kropp: neomagic fb driver
      - David Miller: sparc64 and network updates
      - Kai Mäkisara: scsi tape update
      - Al Viro: more inode trimming, VFS cleanup
      - Greg KH: USB update - proper urb allocations
      - Eric Raymond: kdev_t updates for fb devices
      9d6ba121
    • Linus Torvalds's avatar
      v2.5.2.2 -> v2.5.2.3 · 463727d1
      Linus Torvalds authored
      - Al Viro: VFS inode allocation moved down to filesystem, trim inodes
      - Greg KH: USB update, hotplug documentation
      - Kai Germaschewski: ISDN update
      - Ingo Molnar: scheduler tweaking ("J2")
      - Arnaldo: emu10k kdev_t updates
      - Ben Collins: firewire updates
      - Björn Wesen: cris arch update
      - Hal Duston: ps2esdi driver bio/kdev_t fixes
      - Jean Tourrilhes: move wireless drivers into drivers/net/wireless,
      update wireless API #1
      - Richard Gooch: devfs race fix
      - OGAWA Hirofumi: FATFS update
      463727d1
    • Linus Torvalds's avatar
      v2.4.14 -> v2.4.14.1 · 5db5272c
      Linus Torvalds authored
        - me: fix page flags race condition Andrea found
        - David Miller: sparc and network updates
        - various: fix loop driver that thought it was part of the VM system
        - me: teach DRM about VM_RESERVED
        - Alan Cox: more merging
      5db5272c
    • Linus Torvalds's avatar
      v2.4.13.5 -> v2.4.13.6 · 857805c6
      Linus Torvalds authored
        - me: remember to bump the version number ;)
        - Hugh Dickins: export "free_lru_page()" for modules
        - Jeff Garzik: don't change nopage arguments, just make the last a dummy one
        - David Miller: sparc and net updates (netfilter, VLAN etc)
        - Nikita Danilov: reiserfs cleanups
        - Jan Kara: quota initialization race
        - Tigran Aivazian: make the x86 microcode update driver happy about
        hyperthreaded P4's
        - me: shrink dcache/icache more aggressively
        - me: fix up oom-killer so that it actually works
      857805c6
    • Linus Torvalds's avatar
      v2.4.12.1 -> v2.4.12.2 · 14450c46
      Linus Torvalds authored
        - Alan Cox: more merging
        - Ben Fennema: UDF module license
        - Jeff Mahoney: reiserfs endian safeness
        - Chris Mason: reiserfs O_SYNC/fsync performance improvements
        - Jean Tourrilhes: wireless extension update
        - Joerg Reuter: AX.25 updates
        - David Miller: 64-bit DMA interfaces
      14450c46
    • Linus Torvalds's avatar
      v2.4.10.4 -> v2.4.10.5 · 8b29e8ed
      Linus Torvalds authored
        - Keith Owens: module exporting error checking
        - Greg KH: USB update
        - Paul Mackerras: clean up wait_init_idle(), ppc prefetch macros
        - Jan Kara: quota fixes
        - Abraham vd Merwe: agpgart support for Intel 830M
        - Jakub Jelinek: ELF loader cleanups
        - Al Viro: more cleanups
        - David Miller: sparc64 fix, netfilter fixes
        - me: tweak resurrected oom handling
      8b29e8ed
    • Linus Torvalds's avatar
      v2.4.10.1 -> v2.4.10.2 · 5bf3be03
      Linus Torvalds authored
        - me/Al Viro: fix bdget() oops with block device modules that don't
        clean up after they exit
        - Alan Cox: continued merging (drivers, license tags)
        - David Miller: sparc update, network fixes
        - Christoph Hellwig: work around broken drivers that add a gendisk more
        than once
        - Jakub Jelinek: handle more ELF loading special cases
        - Trond Myklebust: NFS client and lockd reclaimer cleanups/fixes
        - Greg KH: USB updates
        - Mikael Pettersson: sparate out local APIC / IO-APIC config options
      5bf3be03
    • Linus Torvalds's avatar
      v2.4.9.12 -> v2.4.9.13 · a27c6530
      Linus Torvalds authored
        - Manfred Spraul: /proc/pid/maps cleanup (and bugfix for non-x86)
        - Al Viro: "block device fs" - cleanup of page cache handling
        - Hugh Dickins: VM/shmem cleanups and swap search speedup
        - David Miller: sparc updates, soc driver typo fix, net updates
        - Jeff Garzik: network driver updates (dl2k, yellowfin and tulip)
        - Neil Brown: knfsd cleanups and fixues
        - Ben LaHaise: zap_page_range merge from -ac
      a27c6530