A memory-management technique where a computer stores and retrieves data from secondary storage for use in main memory. Memory is divided into equal sized pages so to not waste any memory.
Questions tagged [paging]
2459 questions
5
votes
3 answers
Virtual Memory and Physical Memory
I am studying the concept of Memory Management Unit(MMU) from the book titled "Operating System Concepts" - by Abraham Silberschatz and Galvin. Though things were fine till chapter 8. As soon I started with chapter 9, things started messing up.
I am…

user3552407
- 361
- 1
- 4
- 14
5
votes
1 answer
What does the User/Supervisor bit in the page table entry mean?
I am trying to understand whether:
the User/Supervisor bit is used to distinguish pages of kernel memory, from those of the user process
the User/Supervisor bit changes when execution moves to the kernel while executing a system call
Or perhaps…

piggyback
- 9,034
- 13
- 51
- 80
5
votes
3 answers
paging helper asp.net mvc
I have implemented a paging html helper (adapted from steven sanderson's book). This is the current code:
public static string PageLinks(this HtmlHelper html, int currentPage, int totalPages, Func pageUrl)
{
StringBuilder result…

cs0815
- 16,751
- 45
- 136
- 299
5
votes
3 answers
linux kernel page table update
In linux x86 paging.
each process has it's own page directory.
page table walking starts with page directory which is pointed by CR3.
every process shares the kernel page directory content
assuming three sentences are correct, let's say some…

daehee
- 5,047
- 7
- 44
- 70
5
votes
1 answer
What are the strategies available for doing pagination or filtering data using microservices architecture?
Usually when you have a monolithic application or data model then you can create a SQL joining different tables and apply filters to them. Then once you get resultset back you can page that data as well. But if you are using microservice…

opensourcegeek
- 5,552
- 7
- 43
- 64
5
votes
8 answers
MVC4 WebGrid loaded from Ajax form - multiple calls to Controller when sorting and paging
I have the following in my view
@using (Ajax.BeginForm("Search", "Home", null,
new AjaxOptions
{
InsertionMode = InsertionMode.Replace,
…

gyosifov
- 3,193
- 4
- 25
- 41
5
votes
1 answer
malloc behaves differently on different machines
I see totally different behavior when running a piece of program that tries to exceed RSS on different machines. The code is something like:
...
char** s = (char**)malloc(10000*sizeof(char*));
for (i = 0; i < 10000; i++){
s[i] =…

Pirooz
- 1,268
- 1
- 13
- 24
5
votes
2 answers
Number of page table index bits in multilevel paging
A processor uses 36 bit physical addresses and 32 bit virtual addresses with a page frame size of 4 KBytes. Each page table entry size is of 4 bytes. A three level page table is used for virtual to physical address translation, where the virtual…

Unni
- 5,348
- 6
- 36
- 55
5
votes
1 answer
x86 dirty bit in page table entry
The Intel Architecture manual says when there is first write access against a memory page, the CPU sets the dirty bit of the page table entry. I have questions regarding this issue.
1. The 'dirty bit' in this context is used for guaranteeing the…

daehee
- 5,047
- 7
- 44
- 70
5
votes
2 answers
Current Recordset does not support bookmarks
I have this ASP classic code that will return a set of records (recordset):
adoRs.Open "EXEC SP_SelectFromTable", adocn, 1
Its obviously from a Stored Procedure source. Now I use a AbsolutePage property for pagination function but it cause an…

Stuart
- 711
- 1
- 11
- 35
5
votes
0 answers
unable to handle kernel paging request at virtual address arm
My gstreamer program for dm368 which does streaming + DVI o/p + recording on demand always crashes with the error unable to handle kernel paging request at some virtual address. Can somebosy shed some light on how to debug the issue.
Unable to…

r_nair
- 51
- 1
- 2
5
votes
3 answers
linq paging - get total rows
i have a question about linq. I'm using Skip and Take to do paging:
(from l in db.ProductList
select l).Skip((page - 1) * row_per_page).Take(row_per_page)
It work, and i need retrieve total rows of product list to calculate max page. I…

complez
- 7,882
- 11
- 48
- 56
5
votes
2 answers
EntityFramework do Paging on a query with a join
I have a query with a left join in it:
var query = (from v in context.Vehicles
//left join vehicleAttributes
join va in context.VehicleAttributes on v.VehicleId equals va.VehicleId into vAttributes
…

Timothy
- 608
- 3
- 10
- 24
5
votes
1 answer
MVC Scaffolding - Quick and Easy way to implement Paging?
I am developing an ASP.NET MVC 4 application using MVC scaffolding.
Currently it returns all rows in a single fetch and displays them in the grid. However, I want to implement paging within the same so that it doesn't create any problem when the…

Nirman
- 6,715
- 19
- 72
- 139
5
votes
3 answers
Paging search results with asp.net MVC
I have a situation that I couldn't find a solution for through my searches on here. Here is the scenario:
I have a search form with 2 required fields and multiple optional ones. The form posts to an action method that determines which fields are…

DM.
- 1,847
- 1
- 13
- 18