<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=%24ADJWSL</id>
	<title>$ADJWSL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=%24ADJWSL"/>
	<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=$ADJWSL&amp;action=history"/>
	<updated>2026-04-30T10:05:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.vmssoftware.com/index.php?title=$ADJWSL&amp;diff=839&amp;oldid=prev</id>
		<title>Darya.zelenina: Created page with &quot;&#039;&#039;&#039;$ADJWSL&#039;&#039;&#039;, or &#039;&#039;&#039;Adjust Working Set Limit&#039;&#039;&#039;, is a system service that adjusts a process’s current working set limit by the specified number of pagele...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=$ADJWSL&amp;diff=839&amp;oldid=prev"/>
		<updated>2019-06-08T14:30:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;$ADJWSL&amp;#039;&amp;#039;&amp;#039;, or &amp;#039;&amp;#039;&amp;#039;Adjust Working Set Limit&amp;#039;&amp;#039;&amp;#039;, is a &lt;a href=&quot;/System_Service&quot; title=&quot;System Service&quot;&gt;system service&lt;/a&gt; that adjusts a process’s current working set limit by the specified number of pagele...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;$ADJWSL&amp;#039;&amp;#039;&amp;#039;, or &amp;#039;&amp;#039;&amp;#039;Adjust Working Set Limit&amp;#039;&amp;#039;&amp;#039;, is a [[System Service|system service]] that adjusts a process’s current working set limit by the specified number of pagelets&lt;br /&gt;
(on Alpha or Integrity server systems) and returns the new value to the caller. The working set limit specifies the maximum number of process pagelets that can be resident in physical memory. On [[Alpha]] and [[Integrity]] server systems, this service accepts 64-bit addresses. If a program attempts to adjust the working set limit beyond the system-defined&lt;br /&gt;
upper and lower limits, no error condition is returned; instead, the working set limit is adjusted to the maximum or minimum size allowed.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
 SYS$ADJWSL [pagcnt] ,[wsetlm]&lt;br /&gt;
&lt;br /&gt;
C Prototype&lt;br /&gt;
 int sys$adjwsl (int pagcnt, unsigned int *wsetlm);&lt;br /&gt;
&lt;br /&gt;
=Arguments=&lt;br /&gt;
==pagcnt==&lt;br /&gt;
{{SyservArgument|longword_signed|longword (signed)|read only|by value}}&lt;br /&gt;
Signed adjustment value specifying the number of pagelets to add to (if positive) or subtract from (if negative) the current working set limit. The pagcnt argument is this signed longword value. Note that on [[Alpha]] and [[Integrity]] server systems, the specified value is rounded up to an even multiple of the CPU-specific page size. If pagcnt is not specified or is specified as 0, no adjustment is made and the current working set limit is returned in the longword specified by the wsetlm argument (if this argument is specified).&lt;br /&gt;
&lt;br /&gt;
==wsetlm==&lt;br /&gt;
{{SyservArgument|longword_unsigned|longword (unsigned)|write only|by 32- or 64-bit reference}}&lt;br /&gt;
&lt;br /&gt;
Value of the working set limit, in pagelets , returned by $ADJWSL. The wsetlm argument is the 32- or 64-bit address of this longword value. The wsetlm argument receives the newly adjusted value if pagcnt is specified, and it receives the prior, unadjusted value if pagcnt is not specified.&lt;br /&gt;
&lt;br /&gt;
=Privileges Required=&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
=Quota Required=&lt;br /&gt;
The initial value of a process’s working set limit is controlled by the working set default ([[WSDEFAULT]]) quota. The maximum value to which it can be increased is controlled by the working set extent ([[WSEXTENT]]) quota; the minimum value to which it can be decreased is limited by the system parameter [[MINWSCNT]].&lt;br /&gt;
&lt;br /&gt;
=Condition Values Returned=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Value&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| SS$_NORMAL &lt;br /&gt;
| The service completed successfully.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_ACCVIO &lt;br /&gt;
| The longword specified by wsetlm cannot be written by the caller.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
* [[$ADJSTK]]&lt;br /&gt;
* [[$CRETVA]]&lt;br /&gt;
* [[$CRMPSC]]&lt;br /&gt;
* [[$DELTVA]]&lt;br /&gt;
* [[$DGBLSC]]&lt;br /&gt;
* [[$EXPREG]]&lt;br /&gt;
* [[$LCKPAG]]&lt;br /&gt;
* [[$LKWSET]]&lt;br /&gt;
* [[$MGBLSC]]&lt;br /&gt;
* [[$PURGWS]]&lt;br /&gt;
* [[$SETPRT]]&lt;br /&gt;
* [[$SETSTK]]&lt;br /&gt;
* [[$SETSWM]]&lt;br /&gt;
* [[$ULKPAG]]&lt;br /&gt;
* [[$ULWSET]]&lt;br /&gt;
* [[$UPDSEC]]&lt;br /&gt;
* [[$UPDSECW]]&lt;br /&gt;
&lt;br /&gt;
[[Category:System Services]]&lt;/div&gt;</summary>
		<author><name>Darya.zelenina</name></author>
	</entry>
</feed>