1. 01 Aug, 2005 6 commits
    • Antonino A. Daplas's avatar
      [PATCH] tridentfb: Fix scrolling artifacts if acceleration is enabled · 8dad46cf
      Antonino A. Daplas authored
      Reported by: Jochen Hein (Bugzilla Bug 4386)
      
      booting leaves the end of long lines in the last line on screen when
      scrolling.  When X is running, scrolling puts garbage on the screen
      (looks like X data) Console switch fixes the screen.  Behaviour seems to
      be identical with noaccel and without on the video=tridentfb parameter
      in lilo.conf.
      
      This bug was explained by: Knut_Petersen
      
      Acceleration is broken for all BLADE 3D chips for all versions of kernel
      2.6 except for 32bit modes.  Most important reason is that the u32 col
      parameter of the graphics engine needs the color value replicated to all
      u8 of the u32 (8bit modes) and to both u16 of the u32.
      
      Fix color value passed to graphics engine, verified by the reporter.
      Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      8dad46cf
    • Ingo Molnar's avatar
      [PATCH] remove sys_set_zone_reclaim() · 6cb54819
      Ingo Molnar authored
      This removes sys_set_zone_reclaim() for now.  While i'm sure Martin is
      trying to solve a real problem, we must not hard-code an incomplete and
      insufficient approach into a syscall, because syscalls are pretty much
      for eternity.  I am quite strongly convinced that this syscall must not
      hit v2.6.13 in its current form.
      
      Firstly, the syscall lacks basic syscall design: e.g. it allows the
      global setting of VM policy for unprivileged users. (!) [ Imagine an
      Oracle installation and a SAP installation on the same NUMA box fighting
      over the 'optimal' setting for this flag. What will they do? Will they
      try to set the flag to their own preferred value every second or so? ]
      
      Secondly, it was added based on a single datapoint from Martin:
      
       http://marc.theaimsgroup.com/?l=linux-mm&m=111763597218177&w=2
      
      where Martin characterizes the numbers the following way:
      
       ' Run-to-run variability for "make -j" is huge, so these numbers aren't
         terribly useful except to see that with reclaim the benchmark still
         finishes in a reasonable amount of time. '
      
      in other words: the fundamental problem has likely not been solved, only
      a tendential move into the right direction has been observed, and a
      handful of numbers were picked out of a set of hugely variable results,
      without showing the variability data. How much variance is there
      run-to-run?
      
      I'd really suggest to first walk the walk and see what's needed to get
      stable & predictable kernel compilation numbers on that NUMA box, before
      adding random syscalls to tune a particular aspect of the VM ... which
      approach might not even matter once the whole picture has been analyzed
      and understood!
      
      The third, most important point is that the syscall exposes VM tuning
      internals in a completely unstructured way. What sense does it make to
      have a _GLOBAL_ per-node setting for 'should we go to another node for
      reclaim'? If then it might make sense to do this per-app, via numalib or
      so.
      
      The change is minimalistic in that it doesnt remove the syscall and the
      underlying infrastructure changes, only the user-visible changes.  We
      could perhaps add a CAP_SYS_ADMIN-only sysctl for this hack, a'ka
      /proc/sys/vm/swappiness, but even that looks quite counterproductive
      when the generic approach is that we are trying to reduce the number of
      external factors in the VM balance picture.
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      6cb54819
    • Dominik Brodowski's avatar
      [PATCH] pcmcia: fix multiple insertion of multifunction cards · 5d546f54
      Dominik Brodowski authored
      The ordering of setting and clearing device_add_pending went wrong on some
      occasions, causing multifunction cards only to be handled correctly on the
      first insertion, not on subsequent ones.
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      5d546f54
    • Dominik Brodowski's avatar
      [PATCH] pcmcia: defer ide-cs initialization after other IDE drivers started up · 2b8d4669
      Dominik Brodowski authored
      Avoid registering PCMCIA CF cards before other IDE stuff. This means the risk
      of /dev/hd* being re-ordered is lessened. The _sane_ thing to assert any
      ordering is to use udev, nameif and so on, of course.
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      2b8d4669
    • John McCutchan's avatar
      [PATCH] inotify: fix race between the kernel and user space · b9c55d29
      John McCutchan authored
      When you rm a watch, an IN_IGNORED event is sent down the event queue
      with the watch descriptor that you just rm'd.
      
      If you then add a watch you could get the ignored watch's wd and if you
      haven't read the entire event queue, user space will think that it's
      newly created watch was just ignored.
      
      To avoid this problem we just use idr_get_new_above instead of
      idr_get_new.
      Signed-off-by: default avatarJohn McCutchan <ttb@tentacle.dhs.org>
      Signed-off-by: default avatarRobert Love <rml@novell.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      b9c55d29
    • John McCutchan's avatar
      [PATCH] inotify: fix file deletion by rename detection · 75449536
      John McCutchan authored
      When a file is moved over an existing file that you are watching,
      inotify won't send you a DELETE_SELF event and it won't unref the inode
      until the inotify instance is closed by the application.
      Signed-off-by: default avatarJohn McCutchan <ttb@tentacle.dhs.org>
      Signed-off-by: default avatarRobert Love <rml@novell.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      75449536
  2. 31 Jul, 2005 22 commits
  3. 30 Jul, 2005 12 commits