919 |
* table. |
* table. |
920 |
*/ |
*/ |
921 |
#define NG_PERCENTAGE 95 |
#define NG_PERCENTAGE 95 |
922 |
tt_init(&ttable, bytes * NG_PERCENTAGE / 100); |
tt_init(&ttable, bytes / 100 * NG_PERCENTAGE); |
923 |
|
|
924 |
/* Use the rest of the available memory for the old cache where |
/* Use the rest of the available memory for the old cache where |
925 |
* still owl, semeai and readconnect caching takes place. |
* still owl, semeai and readconnect caching takes place. |
926 |
*/ |
*/ |
927 |
bytes = bytes * (100 - NG_PERCENTAGE) / 100; |
bytes = bytes / 100 * (100 - NG_PERCENTAGE); |
928 |
#endif |
#endif |
929 |
|
|
930 |
|
|