1. 05 12月, 2008 6 次提交
  2. 04 12月, 2008 1 次提交
  3. 01 12月, 2008 1 次提交
  4. 20 11月, 2008 1 次提交
  5. 13 11月, 2008 1 次提交
    • R
      sparc: Fix tty compile warnings. · e64ed022
      Robert Reif 提交于
      This patch fixes tty compile warnings as sugested by Alan Cox:
      
      CC drivers/char/n_tty.o
      drivers/char/n_tty.c: In function ‘normal_poll’:
      drivers/char/n_tty.c:1555: warning: array subscript is above array bounds
      drivers/char/n_tty.c:1564: warning: array subscript is above array bounds
      drivers/char/n_tty.c: In function ‘read_chan’:
      drivers/char/n_tty.c:1269: warning: array subscript is above array bounds
      CC drivers/char/tty_ioctl.o
      drivers/char/tty_ioctl.c: In function ‘set_termios’:
      drivers/char/tty_ioctl.c:533: warning: array subscript is above array 
      bounds
      drivers/char/tty_ioctl.c:537: warning: array subscript is above array 
      bounds
      drivers/char/tty_ioctl.c: In function ‘tty_mode_ioctl’:
      drivers/char/tty_ioctl.c:662: warning: array subscript is above array 
      bounds
      drivers/char/tty_ioctl.c:892: warning: array subscript is above array 
      bounds
      drivers/char/tty_ioctl.c:896: warning: array subscript is above array 
      bounds
      drivers/char/tty_ioctl.c:577: warning: array subscript is above array 
      bounds
      drivers/char/tty_ioctl.c:928: warning: array subscript is above array 
      bounds
      drivers/char/tty_ioctl.c:934: warning: array subscript is above array 
      bounds
      Signed-off-by: NRobert Reif <reif@earthlink.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e64ed022
  6. 02 11月, 2008 4 次提交
  7. 30 10月, 2008 1 次提交
  8. 20 10月, 2008 1 次提交
    • M
      container freezer: add TIF_FREEZE flag to all architectures · 83224b08
      Matt Helsley 提交于
      This patch series introduces a cgroup subsystem that utilizes the swsusp
      freezer to freeze a group of tasks.  It's immediately useful for batch job
      management scripts.  It should also be useful in the future for
      implementing container checkpoint/restart.
      
      The freezer subsystem in the container filesystem defines a cgroup file
      named freezer.state.  Reading freezer.state will return the current state
      of the cgroup.  Writing "FROZEN" to the state file will freeze all tasks
      in the cgroup.  Subsequently writing "RUNNING" will unfreeze the tasks in
      the cgroup.
      
      * Examples of usage :
      
         # mkdir /containers/freezer
         # mount -t cgroup -ofreezer freezer  /containers
         # mkdir /containers/0
         # echo $some_pid > /containers/0/tasks
      
      to get status of the freezer subsystem :
      
         # cat /containers/0/freezer.state
         RUNNING
      
      to freeze all tasks in the container :
      
         # echo FROZEN > /containers/0/freezer.state
         # cat /containers/0/freezer.state
         FREEZING
         # cat /containers/0/freezer.state
         FROZEN
      
      to unfreeze all tasks in the container :
      
         # echo RUNNING > /containers/0/freezer.state
         # cat /containers/0/freezer.state
         RUNNING
      
      This patch:
      
      The first step in making the refrigerator() available to all
      architectures, even for those without power management.
      
      The purpose of such a change is to be able to use the refrigerator() in a
      new control group subsystem which will implement a control group freezer.
      
      [akpm@linux-foundation.org: fix sparc]
      Signed-off-by: NCedric Le Goater <clg@fr.ibm.com>
      Signed-off-by: NMatt Helsley <matthltc@us.ibm.com>
      Acked-by: NPavel Machek <pavel@suse.cz>
      Acked-by: NSerge E. Hallyn <serue@us.ibm.com>
      Acked-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NNigel Cunningham <nigel@tuxonice.net>
      Tested-by: NMatt Helsley <matthltc@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      83224b08
  9. 16 10月, 2008 1 次提交
  10. 14 10月, 2008 1 次提交
  11. 10 10月, 2008 1 次提交
  12. 20 9月, 2008 3 次提交
  13. 14 9月, 2008 1 次提交
  14. 12 9月, 2008 5 次提交
  15. 11 9月, 2008 1 次提交
  16. 10 9月, 2008 1 次提交
  17. 09 9月, 2008 1 次提交
  18. 07 9月, 2008 1 次提交
  19. 04 9月, 2008 2 次提交
  20. 02 9月, 2008 2 次提交
  21. 01 9月, 2008 3 次提交
  22. 31 8月, 2008 1 次提交