DragonFly BSD
DragonFly commits List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Nov 2004 12:35:33 -0800 (PST)

dillon      2004/11/20 12:35:33 PST

DragonFly src repository

  Modified files:
    sys/kern             uipc_syscalls.c 
  sendfile() was seriously broken.  It was calling vm_page_free() without
  busying the underlying page, causing a panic on kernels compiled with
  INVARIANTS and potentially corrupting data on kernels compiles without
  INVARIANTS.  Change the calls to vm_page_try_to_free().
  Symtoms: system crash when Apache2 tries to use sendfile() to send large files.
  Reported-by: Jedi/Sector One <j@xxxxxxxxxxxx>
  Revision  Changes    Path
  1.45      +5 -13     src/sys/kern/uipc_syscalls.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]