Vladislav Bolkhovitin 3ab4521950 Patch from Alessandro Premoli:
First, the problem: you cannot calculate sgv_max_local_order and 
sgv_max_trans_order by excess and then compare them with 
get_order(size). The maximum number of local (SG + trans) entries may be 
112 (like in amd64 case) and you bzero 128 sg_entries for every 
allocation request between 65 and 128 pages because the order is the 
same. This is the reason why single transfers of (70 * PAGE_SIZE) = 
~285k or more fail on amd64. On i386 the limit is higher, since you can 
shrink more records in one page, and so it's very difficult to reach.

Now, the solution: I created a patch, which consists in decreasing
sgv_max_local_order and sgv_max_trans_order by 1.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@140 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-07-02 11:36:22 +00:00
2007-06-08 10:25:29 +00:00
2007-06-15 09:02:57 +00:00
2007-07-02 11:36:22 +00:00
2007-06-08 10:25:29 +00:00
2007-06-08 10:25:29 +00:00
Description
No description provided
33 MiB
Languages
C 90.1%
Perl 4.2%
Shell 1.8%
HTML 1.7%
Makefile 1.2%
Other 0.9%