Re: Increasing MAXPHYS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: John Baldwin
Date: Monday, March 22, 2010 - 5:39 am

On Monday 22 March 2010 7:40:18 am Gary Jennejohn wrote:
that

The problem is the drivers that _don't_ reference MAXPHYS.  The driver author 
at the time "knew" that MAXPHYS was 128k, so he did the MAXPHYS-dependent 
calculation and just put the result in the driver (e.g. only supporting up to 
32 segments (32 4k pages == 128k) in a bus dma tag as a magic number to 
bus_dma_tag_create() w/o documenting that the '32' was derived from 128k or 
what the actual hardware limit on nsegments is).  These cannot be found by a 
simple grep, they require manually inspecting each driver.

-- 
John Baldwin
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Increasing MAXPHYS, Alexander Motin, (Sat Mar 20, 8:20 am)
Re: Increasing MAXPHYS, Matthew Dillon, (Sat Mar 20, 10:53 am)
Re: Increasing MAXPHYS, C. P. Ghost, (Sat Mar 20, 11:13 am)
Re: Increasing MAXPHYS, Scott Long, (Sat Mar 20, 11:17 am)
Re: Increasing MAXPHYS, Matthew Dillon, (Sat Mar 20, 11:22 am)
Re: Increasing MAXPHYS, Alexander Motin, (Sat Mar 20, 12:26 pm)
Re: Increasing MAXPHYS, Alan Cox, (Sat Mar 20, 12:38 pm)
Re: Increasing MAXPHYS, Julian Elischer, (Sat Mar 20, 1:41 pm)
Re: Increasing MAXPHYS, Julian Elischer, (Sat Mar 20, 2:30 pm)
Re: Increasing MAXPHYS, Alexander Motin, (Sun Mar 21, 7:04 am)
Re: Increasing MAXPHYS, Julian Elischer, (Sun Mar 21, 8:46 am)
Re: Increasing MAXPHYS, Ulrich =?utf-8?B?U3D ..., (Sun Mar 21, 9:30 am)
Re: Increasing MAXPHYS, Scott Long, (Sun Mar 21, 9:32 am)
Re: Increasing MAXPHYS, Scott Long, (Sun Mar 21, 9:39 am)
Re: Increasing MAXPHYS, Ulrich =?utf-8?B?U3D ..., (Sun Mar 21, 9:53 am)
Re: Increasing MAXPHYS, Alexander Motin, (Sun Mar 21, 10:03 am)
Re: Increasing MAXPHYS, Scott Long, (Sun Mar 21, 10:10 am)
Re: Increasing MAXPHYS, jhell, (Sun Mar 21, 5:54 pm)
Re: Increasing MAXPHYS, jhell, (Sun Mar 21, 7:00 pm)
Re: Increasing MAXPHYS, Alexander Motin, (Sun Mar 21, 10:53 pm)
Re: Increasing MAXPHYS, Gary Jennejohn, (Mon Mar 22, 4:40 am)
Re: Increasing MAXPHYS, John Baldwin, (Mon Mar 22, 5:39 am)
Re: Increasing MAXPHYS, Alexander Leidinger, (Mon Mar 22, 5:49 am)
Re: Increasing MAXPHYS, jhell, (Mon Mar 22, 8:11 am)
Re: Increasing MAXPHYS, Alexander Sack, (Mon Mar 22, 8:52 am)
Re: Increasing MAXPHYS, Scott Long, (Mon Mar 22, 9:27 am)