广州市新凯贸易有限公司
你好!(首先,对我的冒昧来函向您致歉,但愿这封涵对贵司有所帮助).
本公司长年为各厂家、商贸部门提供业务方便。我公司承蒙各兄弟单位
的厚爱并有一部分发票可以对外代开。
代理范围(全国商品销售发票,广告发票,运输发票其它服务发票,餐饮
发票, 建筑安装,海关.增值发票)等都可以为贵公司代理。
本公司郑重承诺:票据均可上网查询或抵扣验证,良好的信誉是我们
When page sizes become very large they may overflow a long as we
convert them from giga-, mega-, or kilo-bytes to bytes. When doing the
conversion if we hit an error we return LONG_MAX. On 32bit this is 2GB
is is potentially a sensible page size for a 32bit application. As page
size is a long we
From: Adam Litke <[EMAIL PROTECTED]>
The need to set and get pool counters for multiple huge page sizes is about to
extend beyond just the libhugetlbfs tests. Move the counter code into
hugeutils.c and make the top-level functions part of the libhugetlbfs pool and
mount configuration API. This i
Expose pool allocations for each of the available page sizes via the
--pool-list command. Exposes the miniumum and maximimum values indicating
the dedicated pages and the size of the overcommit for all supported page
sizes.
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
---
hpoolcfg.c
Rename and export the pool counter update interface.
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
---
hugetlbfs.h |2 ++
hugeutils.c |8
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/hugetlbfs.h b/hugetlbfs.h
index 54fa13b..985e138 100644
--- a/hugetlbfs.h
+
Allow a utility control which source files it is made up of. This allows
us to reuse some of the utility functions from within libhugetlbfs directly
without linking against the library.
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
---
Makefile | 14 --
1 files changed, 12 inse
Expose possible page sizes. Expose the page sizes which are available
(have pages assigned to them) via --page-sizes. Expose all possible page
sizes (supported by the processor) via --page-sizes-all.
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
---
hpoolcfg.c | 40 +++
Currently the admin has to understand how to configure pools directly.
They must know how to find the current pool allocations, and how to
manipulate them; which change from kernel level to kernel level and
may even differ from one pool size to another. They must know how to
mount filesystems to e
From: Adam Litke <[EMAIL PROTECTED]>
As originally written, the functions hugetlbfs_find_path_for_size() and
hugetlbfs_unlinked_fd_for_size() accepted 0 as a valid page size. A page size
of zero was interpreted to mean the default size (as defined by libhugetlbfs,
not the kernel).
This behavior
Allow resize of specific pools via the --pool-minimum-adjust and
--pool-maximum-adjust commands. The first affects the number of static
pages in the pool, the second affects the number of overcommit pages
for the pool. These are exposed as lower and upper bound on the pool
to match the display in
Add a TEST_ROOT prefix to allow direct testing of sysfs/proc reading
functionality. Default this to empty.
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
---
hugeutils.c | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/hugeutils.c b/hugeutils.c
index a70f261..
Where utilities are going to use routines out of the library directly it
is helpful to share the debugging routines whilst maintaining the identity
of the message producer. Allow the utilities to override the name shown.
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
---
libhugetlbfs_internal
12 matches
Mail list logo