Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
98ea8e30
Commit
98ea8e30
authored
Feb 24, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Remove unused function os_mem_alloc_nocache().
parent
d25cf617
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
include/os0proc.h
include/os0proc.h
+0
-8
os/os0proc.c
os/os0proc.c
+0
-22
No files found.
include/os0proc.h
View file @
98ea8e30
...
...
@@ -50,14 +50,6 @@ ulint
os_proc_get_number
(
void
);
/*====================*/
/********************************************************************
Allocates non-cacheable memory. */
UNIV_INTERN
void
*
os_mem_alloc_nocache
(
/*=================*/
/* out: allocated memory */
ulint
n
);
/* in: number of bytes */
/********************************************************************
Allocates large pages memory. */
UNIV_INTERN
void
*
...
...
os/os0proc.c
View file @
98ea8e30
...
...
@@ -60,28 +60,6 @@ os_proc_get_number(void)
#endif
}
/********************************************************************
Allocates non-cacheable memory. */
UNIV_INTERN
void
*
os_mem_alloc_nocache
(
/*=================*/
/* out: allocated memory */
ulint
n
)
/* in: number of bytes */
{
#ifdef __WIN__
void
*
ptr
;
ptr
=
VirtualAlloc
(
NULL
,
n
,
MEM_COMMIT
,
PAGE_READWRITE
|
PAGE_NOCACHE
);
ut_a
(
ptr
);
return
(
ptr
);
#else
return
(
ut_malloc
(
n
));
#endif
}
/********************************************************************
Allocates large pages memory. */
UNIV_INTERN
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment