<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>288532</bug_id>
          
          <creation_ts>2025-02-25 13:50:15 -0800</creation_ts>
          <short_desc>Profile the quantities of small v.s. medium megapage allocations in libpas</short_desc>
          <delta_ts>2025-02-28 13:48:31 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>bmalloc</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Degazio">d_degazio</reporter>
          <assigned_to name="David Degazio">d_degazio</assigned_to>
          <cc>ggaren</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2097959</commentid>
    <comment_count>0</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2025-02-25 13:50:15 -0800</bug_when>
    <thetext>rdar://144180799

We had to revert some prior work to separate small/medium megapages out into using their own large free heap due to a performance regression. We&apos;d like to gather some information about specifically how many of these megapages are small v.s. medium in a typical program and see if we can use these results to find a way back to re-enabling that change. So, let&apos;s add a PAS_PROFILE macro to the page providers where we allocate megapages out of both reserved and non-reserved memory that gets passed whether the current allocation corresponds to a small or medium megapage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097973</commentid>
    <comment_count>1</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2025-02-25 14:04:11 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/41331</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2099400</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-28 13:48:29 -0800</bug_when>
    <thetext>Committed 291370@main (e1fce65a6b05): &lt;https://commits.webkit.org/291370@main&gt;

Reviewed commits have been landed. Closing PR #41331 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>