Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 15:23:12 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/compat/linux linux_ioctl.c
Message-ID:  <200905271523.n4RFNQt3037310@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
avg         2009-05-27 15:23:12 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_ioctl.c 
  Log:
  SVN rev 192899 on 2009-05-27 15:23:12Z by avg
  
  linux_ioctl_cdrom: reduce stack usage
  
  ... by moving two ~2KB structures from stack to heap allocation.
  I experienced stack overflow in linux emulation on i386 (8K stack)
  when LINUX_DVD_READ_STRUCT ioctl was performed on atapicam cd
  device and there was an error that resulted in additional quite
  heavy stack use in cam layer.
  
  Reviewed by:    dchagin
  Approved by:    jhb (mentor)
  
  Revision  Changes    Path
  1.149     +16 -11    src/sys/compat/linux/linux_ioctl.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905271523.n4RFNQt3037310>