IP Library Granted Patent US 7,100,018
Granted Patent B2
US 7,100,018 · App. 10/632,681 · Granted Aug 29, 2006

System and method for encoding page size information

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,100,018
App. No.
10/632,681
Granted
Aug 29, 2006
Kind
B2
Abstract

A system and method for encoding page size information has been described herein. In one embodiment, the method includes determining whether a virtual address is stored in a translation lookaside buffer (TLB), the TLB including a plurality of entries, wherein the entries include a minimum virtual page number bit string and a variable bit string. In one embodiment the method also includes determining whether the first bit string matches the minimum virtual page number bit string of one of the entries. In one embodiment, if the first bit string matches the minimum virtual page number bit string of one of the entries, the method includes decoding a page size stored in the variable portion of the matching entry and a 1-bit field associated with the matching entry, wherein the decoding determines a set of bits of the variable bit string.

Claims (45)

1. A method comprising:

determining whether a virtual address is stored in a translation lookaside buffer (TLB), the TLB including a plurality of entries, wherein the entries include a minimum virtual page size bit string and a variable bit string, the determining including,

comparing a first bit string of the virtual address to the minimum virtual page size bit string of each of the entries;

determining whether the first bit string matches the minimum virtual page size bit string of one of the entries;

if the first bit string matches the minimum virtual page number bit string of one of the entries, decoding a page size stored in the variable bit string of the matching entry and a data field associated with the matching entry, wherein the decoding determines a set of bits in the variable bit string; and

comparing the set of bits of the variable bit string of the matching entry to a second bit string of the virtual address.

2. The method of claim 1 further comprising:

if the set of bits matches the second bit string, generating a hit indication; and

if the set of bits does not match the second bit string, generating a miss indication.

3. The method of claim 1 , where the TLB is a fully associative TLB.

4. The method of claim 1 , wherein a page size is encoded in the second bit string.

5. The method of claim 1 , wherein the TLB is a second level TLB.

6. A method comprising:

determining a page size encoded in a virtual address tag, wherein the virtual address tag is stored in a translation lookaside buffer entry, and wherein the virtual address tag includes a set of bits, wherein each bit of the set indicates whether an additional bit is needed to represent the page size, the determining including,

inspecting a first bit stored in a 1-bit field of the TLB;

determining whether the first bit indicates that at least another bit is needed to represent the page size;

if at least another bit is needed to represent the page size, repeatedly inspecting successive bits of the set until a bit of the set indicates that an additional bit is not needed to represent the page size, and determining the page size based on the number of bits inspected.

7. The method of claim 6 , wherein the TLB is a fully associative TLB.

8. The method of claim 6 , wherein the page size ranges from 4 Kb to 4 Tb.

9. The method of claim 6 , wherein the TLB is a second level TLB.

10. The method of claim 6 , wherein the page size is represented by a 4-bit string.

11. An apparatus comprising:

a translation lookaside buffer (TLB) to receive a virtual address, wherein the TLB includes a plurality of entries, wherein each of the plurality of entries includes a minimum virtual page size bit string, a variable bit string, and a 1-data field, the translation lookaside buffer including,

a first set of comparators to compare a first bit string of the virtual address to the minimum virtual page size bit string of each of the plurality of entries;

a second set of decoder-comparators to decode a page size encoded in the variable bit string and the data field of each entry, and to compare a portion of the variable bit string to a second bit string of the virtual address, wherein the portion is based on the page size.

12. The apparatus of claim 11 further comprising:

a page mask register to provide a current page size;

a hit logic unit coupled to the page mask register, the first set of comparators, and the second set of decoder-comparators, the hit logic to determine whether the current page size is less than or equal to the page size.

13. The apparatus of claim 11 , wherein the hit logic generates a miss indication after determining that a current page size is less than the page size.

14. The apparatus of claim 11 , wherein the TLB is a fully associative TLB.

15. The apparatus of claim 11 , wherein the TLB is a second level TLB.

16. An apparatus comprising:

a translation lookaside buffer (TLB) including a plurality of entries, wherein each of the entries includes,

a virtual address tag field;

a variable bit string to store an encoded page size;

a 1-bit field to store information used in decoding the encoded page size; and

a page frame number field;

the TLB also including,

a set of decoder-comparators, wherein one of the set of decoder-comparators is associated with each of the entries, and wherein the decoder-comparators decode the encoded page size stored in the variable bit string, and wherein the decoder-comparators compare a part of the variable bit string with a part of a virtual page number.

17. The apparatus of claim 16 , wherein the TLB is fully associative.

18. The apparatus of claim 16 , wherein the TLB is a second level TLB.

19. The apparatus of claim 16 further comprising:

a page mask register to provide a current page size;

a hit logic unit coupled to the TLB and the page mask register, the hit logic unit to determine whether the current page size is less than or equal to the decoded page size.

20. The apparatus of claim 16 , wherein the hit logic generates a miss indication after determining a current page size is less than the decoded page size.

Assignments (14)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 4, 2017
From: SILICON GRAPHICS INTERNATIONAL CORP.
To: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Reel/Frame 044128/0149 →
RELEASE OF SECURITY INTEREST Recorded Nov 2, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC., AS AGENT
To: SILICON GRAPHICS INTERNATIONAL CORP.
Reel/Frame 040545/0362 →
ORDER. . .AUTHORIZING THE SALE OF ALL OR SUBSTANTIALLY ALL OF THE ASSETS OF THE DEBTORS FREE AND CLEAR OF ALL LIENS, CLAIMS, ENCUMBRANCES, AND INTERESTS Recorded Jul 27, 2016
From: U.S. BANK NATIONAL ASSOCIATION, AS TRUSTEE
To: SILICON GRAPHICS, INC
Reel/Frame 039484/0869 →
ORDER...AUTHORIZING THE SALE OF ALL OR SUBSTANTIALLY ALL OF THE ASSETS OF THE DEBTORS FREE AND CLEAR OF ALL LIENS, ENCUMBRANCES, AND INTERESTS. Recorded Jul 26, 2016
From: WELLS FARGO FOOTHILL CAPITAL, INC.
To: SILICON GRAPHICS INC.
Reel/Frame 039480/0846 →
ORDER...AUTHORIZING THE SALE OF ALL OR SUBSTANTIALLY ALL OF THE ASSETS OF THE DEBTORS FREE AND CLEAR OF ALL LIENS, ENCUMBRANCES, AND INTERESTS. Recorded Jul 26, 2016
From: MORGAN STANLEY & CO., INCORPORATED
To: SILICON GRAPHICS, INC.
Reel/Frame 039482/0015 →
SECURITY INTEREST Recorded Mar 13, 2015
From: SILICON GRAPHICS INTERNATIONAL CORP.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 035200/0722 →
CHANGE OF NAME Recorded Apr 18, 2014
From: SILICON GRAPHICS INTERNATIONAL, INC.
To: SGI INTERNATIONAL, INC.
Reel/Frame 032714/0230 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 18, 2014
From: SILICON GRAPHICS, INC.
To: SILICON GRAPHICS INTERNATIONAL, INC.
Reel/Frame 032714/0032 →
MERGER Recorded Apr 18, 2014
From: SGI INTERNATIONAL, INC.
To: SILICON GRAPHICS INTERNATIONAL CORP.
Reel/Frame 032714/0427 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 16, 2012
From: SILICON GRAPHICS, INC. ET AL.; SGI INTERNATIONAL, INC.
To: SILICON GRAPHICS INTERNATIONAL, CORP.
Reel/Frame 027727/0086 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 18, 2007
From: GENERAL ELECTRIC CAPITAL CORPORATION
To: MORGAN STANLEY & CO., INCORPORATED
Reel/Frame 019995/0895 →
SECURITY INTEREST Recorded Oct 24, 2006
From: SILICON GRAPHICS, INC.
To: GENERAL ELECTRIC CAPITAL CORPORATION
Reel/Frame 018545/0777 →
SECURITY AGREEMENT Recorded Aug 19, 2005
From: SILICON GRAPHICS, INC. AND SILICON GRAPHICS FEDERAL, INC. (EACH A DELAWARE CORPORATION)
To: WELLS FARGO FOOTHILL CAPITAL, INC.
Reel/Frame 016871/0809 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 29, 2003
From: ZHANG, DAVID; SEDDIGHNEZHAD, MAHDI
To: SILICON GRAPHICS, INC.
Reel/Frame 014835/0123 →