On 14.05.2008 [15:42:47 -0700], Eric B Munson wrote:
> As environment variables are added and/or change meaning it will become more
> complicated for end users to remember how to properly invoke their program
> using libhugetlbfs.  This front-end will be updated to setup and run 
> programs with libhugetlbfs without relying on the caller to remember how
> the environment should be configured.
> 
> Signed-off-by: Eric Munson <[EMAIL PROTECTED]>
> 
> ---
> 
>  hugectl.c |  113 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 113 insertions(+), 0 deletions(-)
> 
> diff --git a/hugectl.c b/hugectl.c
> new file mode 100644
> index 0000000..d9aa35f
> --- /dev/null
> +++ b/hugectl.c
> @@ -0,0 +1,113 @@
> +/***************************************************************************
> + *   User front end for using huge pages Copyright (C) 2008, IBM           *
> + *                                                                         *
> + *   This program is free software; you can redistribute it and/or modify  *
> + *   it under the terms of the Lesser GNU General Public License as        *
> + *   published by the Free Software Foundation; either version 2.1 of the  *
> + *   License, or at your option) any later version.                        *
> + *                                                                         *
> + *   This program is distributed in the hope that it will be useful,       *
> + *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
> + *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
> + *   GNU Lesser General Public License for more details.                   *
> + *                                                                         *
> + *   You should have received a copy of the Lesser GNU General Public      *
> + *   License along with this program; if not, write to the                 *
> + *   Free Software Foundation, Inc.,                                       *
> + *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
> + ***************************************************************************/
> +
> +/*
> + * This program is going to be expanded to be a front end for using
> + * libhugetlbfs as well as controlling certain process behavior.
> + * Ideas for future implementation:
> + *   --report-page-sizes Gives all valid huge page sizes for this machine
> + *   --report-mounts Gives all mounts for libhugetlbfs (and their page size?)
> + *   --text-remap Puts the text section of target binary in huge pages
> + *   --bss-remap Puts the bss section of target binary in huge pages
> + *   --heap Backs malloc (morecore) with huge pages

Would it perhaps make sense to not have --stack support yet, given the
upstream kernel patch hasn't been accepted. Instead, just support the
abstraction of what options we already support in the library?

Thanks,
Nish

-- 
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to