Heat oil in a pan and add mustard seeds and cumin seeds. Let them splutter.
Add onions and sauté till they turn golden brown.
Add turmeric, red chili powder, and coriander powder, and mix well.
Add green peas, boiled potatoes, and salt to taste. Mix well and cook for 3-4 minutes.
Remove from heat and keep aside.