| 49 | */ |
| 50 | |
| 51 | uchar* my_large_malloc(size_t size, myf my_flags) |
| 52 | { |
| 53 | uchar* ptr; |
| 54 | DBUG_ENTER("my_large_malloc"); |
| 55 | |
| 56 | if (my_use_large_pages && my_large_page_size) |
| 57 | { |
| 58 | if ((ptr = my_large_malloc_int(size, my_flags)) != NULL) |
| 59 | DBUG_RETURN(ptr); |
| 60 | if (my_flags & MY_WME) |
| 61 | fprintf(stderr, "Warning: Using conventional memory pool\n"); |
| 62 | } |
| 63 | |
| 64 | DBUG_RETURN(my_malloc_lock(size, my_flags)); |
| 65 | } |
| 66 | |
| 67 | /* |
| 68 | General large pages deallocator. |
no test coverage detected