OSSP CVS Repository

ossp - Ticket #18
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Attach]  [Edit]  [History

Ticket 18: Maximum segment size under linux...

The maximum segment size under linux is a kernel parameter (/proc/sys/kernel/shmmax) which can be changed during runtime.

The maximum segment size of mm is calculated at compile time and depends on the max seg size of the system, one compiled the library.

It would be more appropriate for the library to calculate the max seg size during initialization of the mm_core by geting this variable from the /proc subsystem. if this fails then it could just use a "hardcoded" value calculated at configuration stage of the library (or even use bits of the code used in the configure script to calculate the maximum available size on the fly...).

[Add remarks]

Remarks:

Properties:

Type: code           Version: 1.3.0 
Status: new          Created: 2003-May-29 12:43
Severity:          Last Change: 2003-May-29 12:43
Priority:          Subsystem: mm 
Assigned To: rse           Derived From:  
Creator: anonymous 

CVSTrac 2.0.1